-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output of an --emit dependent on other outputs present #12992
Comments
Updated the UART implementation and modified the 926 to use it. Also have updated to use rust's master branch, will try to maintain compatibilty therewith. Some odd fixes to do so (instance: extracting core.bc from libcore*.rlib doesn't work, so compiling core.bc on its own.)
Can you provide a diff between the outputs? This is likely a known issue, but I would like to be sure. |
.bc is a binary format, so I'm not familiar enough with the format to extract much more data. |
I note the difference persists when the second line is
(two separate |
Can you pass |
With emit flags as |
It seems that every bytecode is invalid only when a rlib is produced. It stopped working between rust-git-0.9.1301 and 1362 (shortly before 329fcd4 2014-02-23 15:37:05 -0800). Going back thorugh the log, I found #12448. I believe that |
Fixes #12992 I tried to increase the number of deflate's probes. Reduction of 0.5% or 2% is not enough.
…ng-pat, r=Veykril fix: infer byte string pattern as `&[u8]` when matched against slices Fixes rust-lang#12630 c.f. [rustc_typeck](https://github.com/rust-lang/rust/blob/1603a70f82240ba2d27f72f964e36614d7620ad3/compiler/rustc_typeck/src/check/pat.rs#L388-L404)
bump strip-ansi-escapes This bumps `strip-ansi-escapes` to remove arrayvec from it's deps (luser/strip-ansi-escapes#8) Should Cargo.lock be commited too to track it's working state? changelog: none
Passing rustc the
--emit=bc
flag and passing--emit=bc,link
may produce different.bc
files (that is, outputs). This is true of rust-core (see below), though was not the case for a simpler ("Hello, world!") test file.Test script:
Diff output indicates binary files differ.
Tested with
rustc 0.10-pre (0a181a8 2014-03-17 09:57:06 -0700)
, rust-core ondd0584450
. rustc compiled from master on Arch Linux.If this is, in fact, expected behavior- sorry for the trouble, unexpected to me.
The text was updated successfully, but these errors were encountered: