You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a nightly rustc (1.8.0-nightly, ba356ffbc 2016-01-24) on an x86_64 linux system, and trying to cross compile liblog to i686. I'm able to compile libcore and liblog just fine, but when I try to use the log! macro, rust chokes.
Compiled with rustc -L $LIB_I686_DIR --target i686-unknown-linux-gnu temp.rs
That log!() looks like what rust has been outputting, but the errors suggest that it's trying to link against this library, using the internal macros. Is there a way to disable or override a macro definition?
I'm using a nightly rustc (1.8.0-nightly, ba356ffbc 2016-01-24) on an x86_64 linux system, and trying to cross compile liblog to i686. I'm able to compile libcore and liblog just fine, but when I try to use the log! macro, rust chokes.
Compiled with
rustc -L $LIB_I686_DIR --target i686-unknown-linux-gnu temp.rs
temp.rs
Output:
When I do a pretty expansion, the
info!()
turns into this:It looks like rust is stripping leading underscores within the log!() macro, and converting LogLevels into all caps.
The text was updated successfully, but these errors were encountered: