Created
March 18, 2014 04:42
-
-
Save cceckman/9613689 to your computer and use it in GitHub Desktop.
BC output dependent on other targets
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
#!/bin/bash | |
mkdir bc | |
mkdir bclink | |
git clone [email protected]:thestinger/rust-core | |
rustc --emit=bc --out-dir=bc rust-core/core/lib.rs | |
rustc --emit=bc,link --out-dir=bclink rust-core/core/lib.rs | |
diff bc/core.bc bclink/core.bc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Demonstrates that the core.bc file changes when the output changes, at least for rust-core. Unsure if a bug in rustc or libcore, or if this is expected behavior.
Version is
rustc 0.10-pre (0a181a8 2014-03-17 09:57:06 -0700)
rust-core is dd0584450