Created
December 16, 2013 07:53
-
-
Save killerswan/7983652 to your computer and use it in GitHub Desktop.
warning at compile and nonsensical error at runtime when using librustc
This file contains hidden or 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
| meow $ make build_testloop | |
| rustc -o ./bin/testloop --bin -Z debug-info -Z extra-debug-info --opt-level=3 src/testloop.rs | |
| warning: no debug symbols in executable (-arch x86_64) | |
| meow $ make run_loop | |
| ./bin/testloop ./src/demo.rs --test | |
| <<<< building tests >>>> | |
| error: multiple input filenames provided | |
| task 'rustc' failed at 'explicit failure', /Users/kevin/code/rust/src/librustc/driver/driver.rs:1054 | |
| task '<main>' failed at 'explicit failure', /Users/kevin/code/rust/src/librustc/lib.rs:398 | |
| make: *** [run_loop] Error 101 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The "multiple input filenames provided" error is due to using the same arguments with
librustc::main_argsas I was using with therustcexecutable. :(https://github.com/killerswan/meow/compare/librustc#diff-7df04b77326b8a50f8284f3ac22257e3L119
That's pretty weird considering that the function I'm using is called like so inside
rustc: