From 0f5735e1eea5a2a68f88f95c713c7171f7a294d4 Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Mon, 28 Oct 2013 20:08:55 -0700 Subject: [PATCH 1/2] fmt! -> format! --- platform/linux.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux.rs b/platform/linux.rs index 179ff84..25e9ca7 100644 --- a/platform/linux.rs +++ b/platform/linux.rs @@ -216,7 +216,7 @@ impl GraphicsContext { let pixmap = XCreatePixmap(display, root_window, 10, 10, 24); let glx_pixmap = glXCreateGLXPixmap(display, visual, pixmap); - debug!("XCreatePixmap returned %?, glXCreateGLXPixmap returned %?", + debug!("XCreatePixmap returned {}, glXCreateGLXPixmap returned {}", pixmap, glx_pixmap); From 11f74cff86b336889bf623bd4f89705be1f8852c Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Tue, 29 Oct 2013 15:57:07 -0700 Subject: [PATCH 2/2] Fix rustc command line --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 0d39b48..3d08539 100644 --- a/Makefile.in +++ b/Makefile.in @@ -16,7 +16,7 @@ all: libsharegl.dummy $(CC) $< -o $@ -c $(CFLAGS) libsharegl.dummy: sharegl.rc $(RUST_SRC) - $(RUSTC) $(RUSTFLAGS) $< -o $@ + $(RUSTC) $(RUSTFLAGS) $< --lib --out-dir . touch $@ sharegl-test: sharegl.rc $(RUST_SRC)