-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Rollup of 6 pull requests #66452
Rollup of 6 pull requests #66452
Commits on Nov 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a902383 - Browse repository at this point
Copy the full SHA a902383View commit details
Commits on Nov 12, 2019
-
protect creation of destructors by a mutex
add on HermizCore an additional lock to protect static data
Configuration menu - View commit details
-
Copy full SHA for 969b741 - Browse repository at this point
Copy the full SHA 969b741View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8871731 - Browse repository at this point
Copy the full SHA 8871731View commit details
Commits on Nov 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b6d93d9 - Browse repository at this point
Copy the full SHA b6d93d9View commit details -
This is a bit unfortunate, but code needs to be able to fatally error early on (in particular, syntax_pos after we move SourceMap there). It's also a tiny bit of code, which means it's ultimately not that bad.
Configuration menu - View commit details
-
Copy full SHA for e1a87ca - Browse repository at this point
Copy the full SHA e1a87caView commit details -
This does not update the use sites or delete the now unnecessary SourceMapper trait, to allow git to interpret the file move as a rename rather than a new file.
Configuration menu - View commit details
-
Copy full SHA for 942f0a6 - Browse repository at this point
Copy the full SHA 942f0a6View commit details -
SourceMap is now in the root of all rustc-specific crates, syntax_pos, so there's no need for the trait object to decouple the dependencies between librustc_errors and libsyntax as was needed previously.
Configuration menu - View commit details
-
Copy full SHA for 3f93ffc - Browse repository at this point
Copy the full SHA 3f93ffcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c31a875 - Browse repository at this point
Copy the full SHA c31a875View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8dca6c - Browse repository at this point
Copy the full SHA b8dca6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d252ba3 - Browse repository at this point
Copy the full SHA d252ba3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e621a8 - Browse repository at this point
Copy the full SHA 4e621a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74329bf - Browse repository at this point
Copy the full SHA 74329bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 564c78a - Browse repository at this point
Copy the full SHA 564c78aView commit details -
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 09f0ee5 - Browse repository at this point
Copy the full SHA 09f0ee5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 065e1b8 - Browse repository at this point
Copy the full SHA 065e1b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 614abe4 - Browse repository at this point
Copy the full SHA 614abe4View commit details -
Rollup merge of rust-lang#66255 - ehuss:update-cc, r=alexcrichton
Update cc, git2, num_cpus. This updates the `cc` crate, bringing in better parallel building support. Also updates `git2` which enables the parallel feature. (Note: I don't expect it will have a significant impact on build time, but seems good to update anyways.) The main thorn is that `cc` gained knowledge about RISC-V architectures (rust-lang/cc-rs#428, rust-lang/cc-rs#429, rust-lang/cc-rs#430), but the builders on CI do not have the riscv C compiler installed. This means that bootstraps' cc detection was finding a C compiler that isn't installed, and fails. The solution here is to override the cc detection to `false`. The C compiler isn't actually used on riscv platforms. AFAIK, the only location would be compiler_builtins, and it currently forces C support off (https://github.com/rust-lang/compiler-builtins/blob/a533ae9c5aa325db209659679535fe1f186eae81/build.rs#L49-L55). Other possible solutions: - Add the override in cc_detect for riscv (or any "no-C" platform like wasm32 and nvptx) - Install and use the appropriate c compiler. I tried this the `g++-riscv64-linux-gnu` package, but it failed missing some header file. Closes rust-lang#66232
Configuration menu - View commit details
-
Copy full SHA for fd84f03 - Browse repository at this point
Copy the full SHA fd84f03View commit details -
Rollup merge of rust-lang#66350 - hermitcore:hermit, r=rkruppe
protect creation of destructors by a mutex - add on HermitCore an additional lock to protect static data
Configuration menu - View commit details
-
Copy full SHA for 12065b1 - Browse repository at this point
Copy the full SHA 12065b1View commit details -
Rollup merge of rust-lang#66407 - JohnTitor:add-ice-tests, r=Centril
Add more tests for fixed ICEs Closes rust-lang#36122 (fixed in 1.20.0) Closes rust-lang#58094 (fixed in rust-lang#66054) Also, fix mistaken test case, from rust-lang#30904 to rust-lang#30906 (cc @eddyb) r? @Centril
Configuration menu - View commit details
-
Copy full SHA for e2aa473 - Browse repository at this point
Copy the full SHA e2aa473View commit details -
Rollup merge of rust-lang#66415 - tmandry:force-test-in-process, r=al…
…excrichton Add --force-run-in-process unstable option to libtest When running tests with `-Zpanic_abort_tests`, it's sometimes desirable to fall back to the old behavior of only running tests in-process. This comes in handy if the system process launcher is unavailable, or the test code somehow expects all tests to be run in the same process. For example, in Fuchsia we have unit tests that actually test the process launcher itself, in which case we can't use the process launcher to run the tests :). r? @alexcrichton cc @cramertj,@petrhosek
Configuration menu - View commit details
-
Copy full SHA for eaf7e97 - Browse repository at this point
Copy the full SHA eaf7e97View commit details -
Rollup merge of rust-lang#66427 - Mark-Simulacrum:errors-json, r=Centril
Move the JSON error emitter to librustc_errors This is done both as a cleanup (it makes little sense for this emitter to be in libsyntax), but also as part of broader work to decouple Session from librustc itself. Along the way, this also moves SourceMap to syntax_pos, which is also nice for the above reasons, as well as allowing dropping the SourceMapper trait from code. This had the unfortunate side-effect of moving `FatalError` to rustc_data_structures (it's needed in syntax_pos, due to SourceMap, but putting it there feels somehow worse).
Configuration menu - View commit details
-
Copy full SHA for 1724afd - Browse repository at this point
Copy the full SHA 1724afdView commit details -
Rollup merge of rust-lang#66441 - RalfJung:seh, r=oli-obk
libpanic_unwind for Miri: make sure we have the SEH lang items when needed r? @oli-obk @alexcrichton This is required to fix the Miri toolstate. Turns out rustc complains when doing codegen for MSVC and these lang items do not exist. For now `cfg(miri)` needs to still be able to codegen (we [plan to change that](rust-lang/miri#1048 (comment)) but that's a larger project requiring improvements to xargo and maybe also cargo; that should not block fixing the toolstate). Yes, this is a hack, but it is inside `cfg(miri)` so I hope this is okay. Cc @Aaron1011
Configuration menu - View commit details
-
Copy full SHA for 7761647 - Browse repository at this point
Copy the full SHA 7761647View commit details