This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::prelude::*; | |
fn main() { | |
let s = "Hello"; | |
debug!("This will break %s", s); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/break-marco/ | |
└── pkg.rs | |
0 directories, 1 file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/break-marco/ | |
└── pkg.rs | |
0 directories, 1 file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::prelude::*; | |
use std::run; | |
use std::os; | |
fn main() { | |
compile(os::args()[0]) | |
} | |
fn compile(s : &str) -> () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WARNING: The Rust package manager is experimental and may be unstable | |
rust: task failed at 'attempted to analyze unexpanded stmt', /home/dcolish/workspace/rust/src/libsyntax/ast_util.rs:46 | |
/home/dcolish/local/rust/trunk/bin/../lib/librustrt.so(_ZN9rust_task13begin_failureEPKcS1_m+0x4b)[0x7f6a19c7405b] | |
/home/dcolish/local/rust/trunk/bin/../lib/librustrt.so(+0x2d469)[0x7f6a19c85469] | |
/home/dcolish/local/rust/trunk/bin/../lib/librustrt.so(upcall_fail+0x1a0)[0x7f6a19c760f0] | |
/home/dcolish/local/rust/trunk/bin/../lib/libstd-6c65cf4b443341b1-0.7-pre.so(_ZN3sys13begin_unwind_16_89e154cd09156716_07preE+0x2e4)[0x7f6a1d3f9554] | |
/home/dcolish/local/rust/trunk/bin/../lib/libstd-6c65cf4b443341b1-0.7-pre.so(+0x1166b2)[0x7f6a1d3f96b2] | |
/home/dcolish/local/rust/trunk/bin/../lib/libstd-6c65cf4b443341b1-0.7-pre.so(+0x116191)[0x7f6a1d3f9191] | |
/home/dcolish/local/rust/trunk/bin/../lib/libstd-6c65cf4b443341b1-0.7-pre.so(+0x11666c)[0x7f6a1d3f966c] | |
/home/dcolish/local/rust/trunk/bin/../lib/libstd-6c65cf4b443341b1-0.7-pre.so(+0x116191)[0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task failed at 'attempted to analyze unexpanded stmt', /home/dcolish/workspace/rust/src/libsyntax/ast_util.rs:46 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::run; | |
use std::os; | |
fn main() { | |
compile(os::args()[0]) | |
} | |
fn compile(s : &str) -> () { | |
let path = PosixPath(s).dir_path().normalize(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rust: task failed at 'explicit failure', /home/dcolish/workspace/rust/src/libsyntax/diagnostic.rs:98 | |
rust: domain main @0x21d2c80 root task failed | |
omega:rust-test (101) $ RUST_LOG=rustpkg rustpkg build rust-http-client | |
WARNING: The Rust package manager is experimental and may be unstable | |
rust: ~"Using sysroot: Some(@{is_absolute: true, components: ~[~\"home\", ~\"dcolish\", ~\"local\", ~\"rust\", ~\"trunk\"]})" | |
rust: ~"whole = rust-http-client part = rust-http-client" | |
rust: ~"rust-http-client doesn\'t look like an explicit-version thing" | |
rust: ~"rust-http-client has no explicit version" | |
rust: ~"try_getting_version: rust-http-client" | |
rust: ~"local_path = rust_http_client, remote_path = rust-http-client" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WARNING: The Rust package manager is experimental and may be unstable | |
error: linking with `cc` failed with code 1 | |
note: cc arguments: -L/home/dcolish/local/rust/trunk/lib/rustc/x86_64-unknown-linux-gnu/lib -m64 -o ./build/rust_http_client/pkg ./build/rust_http_client/pkg.o -L/home/dcolish/local/rust/trunk/lib/rustc/x86_64-unknown-linux-gnu/lib -lstd-6c65cf4b443341b1-0.7-pre -L/home/dcolish/local/rust/trunk/lib/rustc/x86_64-unknown-linux-gnu/lib -lextra-a7c050cfd46b2c9a-0.7-pre -L/home/dcolish/local/rust/trunk/lib/rustc/x86_64-unknown-linux-gnu/lib -lsyntax-9c7e57a146ef6bf1-0.7-pre -L/home/dcolish/local/rust/trunk/lib/rustc/x86_64-unknown-linux-gnu/lib -lrustc-ec14752a4b1d63-0.7-pre -L/home/dcolish/local/rust/trunk/lib/rustc/x86_64-unknown-linux-gnu/lib -lrustpkg-a039f7e3caed55f-0.7-pre -lrustrt -lrt -lpthread -Lrustllvm -lrustllvm -lrt -ldl -lm -lmorestack -lrustrt -Wl,-rpath,$ORIGIN/../../../../local/rust/trunk/lib/rustc/x86_64-unknown-linux-gnu/lib -Wl,-rpath,/home/dcolish/local/rust/trunk/lib/rustc/x86_64- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
omega:workspace (101) $ rust run simpleuv.rs | |
simpleuv.rs:1:4: 1:9 error: unresolved import. maybe a missing `extern mod extra`? | |
simpleuv.rs:1 use extra::uv_global_loop; | |
^~~~~ | |
simpleuv.rs:1:4: 1:25 error: failed to resolve import `extra::uv_global_loop` | |
simpleuv.rs:1 use extra::uv_global_loop; | |
^~~~~~~~~~~~~~~~~~~~~ | |
simpleuv.rs:2:4: 2:9 error: unresolved import. maybe a missing `extern mod extra`? | |
simpleuv.rs:2 use extra::uv_iotask; | |
^~~~~ |