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) 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);