diff --git a/src/codegen/branchify.rs b/src/codegen/branchify.rs index f8b50ce4..0c9df2c0 100644 --- a/src/codegen/branchify.rs +++ b/src/codegen/branchify.rs @@ -98,7 +98,7 @@ pub fn generate_branchified_method( let s = format!($($x)*); let result = writer.write(indentstr.as_bytes()) .and(writer.write(s.as_bytes())) - .and(writer.write(bytes!("\n"))); + .and(writer.write(b"\n")); match result { Ok(_) => {}, diff --git a/src/sdl2/lib.rs b/src/sdl2/lib.rs index 6db5a580..326f2d4f 100644 --- a/src/sdl2/lib.rs +++ b/src/sdl2/lib.rs @@ -6,6 +6,7 @@ #![feature(globs)] #![feature(macro_rules)] +#![feature(unsafe_destructor)] extern crate libc; extern crate collections;