-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Sync rustc_codegen_cranelift #112671
Sync rustc_codegen_cranelift #112671
Commits on Apr 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fcbdfe1 - Browse repository at this point
Copy the full SHA fcbdfe1View commit details
Commits on Apr 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b05a03b - Browse repository at this point
Copy the full SHA b05a03bView commit details
Commits on Apr 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fc7b3eb - Browse repository at this point
Copy the full SHA fc7b3ebView commit details
Commits on Apr 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 20571f6 - Browse repository at this point
Copy the full SHA 20571f6View commit details
Commits on Apr 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7a77541 - Browse repository at this point
Copy the full SHA 7a77541View commit details
Commits on Apr 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8bf550e - Browse repository at this point
Copy the full SHA 8bf550eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 456ef8b - Browse repository at this point
Copy the full SHA 456ef8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 215dd7a - Browse repository at this point
Copy the full SHA 215dd7aView commit details
Commits on Apr 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d530c04 - Browse repository at this point
Copy the full SHA d530c04View commit details
Commits on May 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 249a6f8 - Browse repository at this point
Copy the full SHA 249a6f8View commit details -
Restrict
From<S>
for{D,Subd}iagnosticMessage
.Currently a `{D,Subd}iagnosticMessage` can be created from any type that impls `Into<String>`. That includes `&str`, `String`, and `Cow<'static, str>`, which are reasonable. It also includes `&String`, which is pretty weird, and results in many places making unnecessary allocations for patterns like this: ``` self.fatal(&format!(...)) ``` This creates a string with `format!`, takes a reference, passes the reference to `fatal`, which does an `into()`, which clones the reference, doing a second allocation. Two allocations for a single string, bleh. This commit changes the `From` impls so that you can only create a `{D,Subd}iagnosticMessage` from `&str`, `String`, or `Cow<'static, str>`. This requires changing all the places that currently create one from a `&String`. Most of these are of the `&format!(...)` form described above; each one removes an unnecessary static `&`, plus an allocation when executed. There are also a few places where the existing use of `&String` was more reasonable; these now just use `clone()` at the call site. As well as making the code nicer and more efficient, this is a step towards possibly using `Cow<'static, str>` in `{D,Subd}iagnosticMessage::{Str,Eager}`. That would require changing the `From<&'a str>` impls to `From<&'static str>`, which is doable, but I'm not yet sure if it's worthwhile.
Configuration menu - View commit details
-
Copy full SHA for a4c4937 - Browse repository at this point
Copy the full SHA a4c4937View commit details
Commits on May 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b7decf2 - Browse repository at this point
Copy the full SHA b7decf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for edd0e5d - Browse repository at this point
Copy the full SHA edd0e5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7905fa9 - Browse repository at this point
Copy the full SHA 7905fa9View commit details
Commits on May 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 332b54a - Browse repository at this point
Copy the full SHA 332b54aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ef286c - Browse repository at this point
Copy the full SHA 4ef286cView commit details -
Configuration menu - View commit details
-
Copy full SHA for dfb1119 - Browse repository at this point
Copy the full SHA dfb1119View commit details
Commits on May 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for db3faa7 - Browse repository at this point
Copy the full SHA db3faa7View commit details
Commits on May 11, 2023
-
Don't use an allocator shim for
#[global_allocator]
This makes it possible to use liballoc/libstd in combination with `--emit obj` if you use `#[global_allocator]`. Making it work for the default libstd allocator would require weak functions, which are not well supported on all systems.
Configuration menu - View commit details
-
Copy full SHA for 002aa8e - Browse repository at this point
Copy the full SHA 002aa8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5930509 - Browse repository at this point
Copy the full SHA 5930509View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1d0a90 - Browse repository at this point
Copy the full SHA a1d0a90View commit details -
Prevent insta-stable no alloc shim support
You will need to add the following as replacement for the old __rust_* definitions when not using the alloc shim. #[no_mangle] static __rust_no_alloc_shim_is_unstable: u8 = 0;
Configuration menu - View commit details
-
Copy full SHA for 2253e86 - Browse repository at this point
Copy the full SHA 2253e86View commit details
Commits on May 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d665640 - Browse repository at this point
Copy the full SHA d665640View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b2a098 - Browse repository at this point
Copy the full SHA 9b2a098View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6ba10d - Browse repository at this point
Copy the full SHA f6ba10dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ecbb33a - Browse repository at this point
Copy the full SHA ecbb33aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 899d193 - Browse repository at this point
Copy the full SHA 899d193View commit details -
Configuration menu - View commit details
-
Copy full SHA for e391915 - Browse repository at this point
Copy the full SHA e391915View commit details
Commits on May 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d2a8023 - Browse repository at this point
Copy the full SHA d2a8023View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88ae8fc - Browse repository at this point
Copy the full SHA 88ae8fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for a43f083 - Browse repository at this point
Copy the full SHA a43f083View commit details -
Merge pull request rust-lang#1373 from bjorn3/more_bench
Benchmark clif release builds with ./y.rs bench
Configuration menu - View commit details
-
Copy full SHA for d16ba45 - Browse repository at this point
Copy the full SHA d16ba45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 521d937 - Browse repository at this point
Copy the full SHA 521d937View commit details -
Use --sysroot ... instead of --sysroot=...
Rust's build system doesn't handle --sysroot=... correctly
Configuration menu - View commit details
-
Copy full SHA for b773282 - Browse repository at this point
Copy the full SHA b773282View commit details
Commits on May 16, 2023
-
Avoid
&format("...")
calls in error message code.Error message all end up passing into a function as an `impl Into<{D,Subd}iagnosticMessage>`. If an error message is creatd as `&format("...")` that means we allocate a string (in the `format!` call), then take a reference, and then clone (allocating again) the reference to produce the `{D,Subd}iagnosticMessage`, which is silly. This commit removes the leading `&` from a lot of these cases. This means the original `String` is moved into the `{D,Subd}iagnosticMessage`, avoiding the double allocations. This requires changing some function argument types from `&str` to `String` (when all arguments are `String`) or `impl Into<{D,Subd}iagnosticMessage>` (when some arguments are `String` and some are `&str`).
Configuration menu - View commit details
-
Copy full SHA for 8a9b38f - Browse repository at this point
Copy the full SHA 8a9b38fView commit details -
It's just a short wrapper used by `tcx.require_lang_item`. Deleting it gives us a negative diff.
Configuration menu - View commit details
-
Copy full SHA for 74ab27c - Browse repository at this point
Copy the full SHA 74ab27cView commit details
Commits on May 18, 2023
-
Rollup merge of rust-lang#111633 - nnethercote:avoid-ref-format, r=Wa…
…ffleLapkin Avoid `&format("...")` calls in error message code. Some error message cleanups. Best reviewed one commit at a time. r? `@davidtwco`
Configuration menu - View commit details
-
Copy full SHA for 84644eb - Browse repository at this point
Copy the full SHA 84644ebView commit details
Commits on May 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6900c99 - Browse repository at this point
Copy the full SHA 6900c99View commit details -
Configuration menu - View commit details
-
Copy full SHA for de8a4d5 - Browse repository at this point
Copy the full SHA de8a4d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2155c03 - Browse repository at this point
Copy the full SHA 2155c03View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1d8b71 - Browse repository at this point
Copy the full SHA b1d8b71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22befab - Browse repository at this point
Copy the full SHA 22befabView commit details -
Allow building and testing without rustup
This can be done by installing the nightly specified in rust-toolchain.toml and then pointing the CARGO, RUSTC and RUSTDOC env vars to the right executables.
Configuration menu - View commit details
-
Copy full SHA for a2f720d - Browse repository at this point
Copy the full SHA a2f720dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a555b8a - Browse repository at this point
Copy the full SHA a555b8aView commit details -
Unlike rustc with cargo debug-assertions = true doesn't imply overflow-checks = true
Configuration menu - View commit details
-
Copy full SHA for 24f1569 - Browse repository at this point
Copy the full SHA 24f1569View commit details -
Merge pull request rust-lang#1374 from bjorn3/non_rustup_build3
Allow building and testing without rustup
Configuration menu - View commit details
-
Copy full SHA for a684753 - Browse repository at this point
Copy the full SHA a684753View commit details
Commits on May 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 031bfa6 - Browse repository at this point
Copy the full SHA 031bfa6View commit details -
There was a minor bug in Wasmtime that needed a new release. Nothing changed in Cranelift.
Configuration menu - View commit details
-
Copy full SHA for c87dfd9 - Browse repository at this point
Copy the full SHA c87dfd9View commit details
Commits on May 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a3b816b - Browse repository at this point
Copy the full SHA a3b816bView commit details -
Allow testing a cranelift backend built into rustc itself
This avoids building cranelift twice in rust's CI and is a lot easier than trying to make building of codegen backends work from within a cargo invocation done by rust's build system.
Configuration menu - View commit details
-
Copy full SHA for 5b3bc29 - Browse repository at this point
Copy the full SHA 5b3bc29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72e67c8 - Browse repository at this point
Copy the full SHA 72e67c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 134dc33 - Browse repository at this point
Copy the full SHA 134dc33View commit details
Commits on May 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f9dabd8 - Browse repository at this point
Copy the full SHA f9dabd8View commit details -
Auto merge of rust-lang#86844 - bjorn3:global_alloc_improvements, r=p…
…nkfelix Support #[global_allocator] without the allocator shim This makes it possible to use liballoc/libstd in combination with `--emit obj` if you use `#[global_allocator]`. This is what rust-for-linux uses right now and systemd may use in the future. Currently they have to depend on the exact implementation of the allocator shim to create one themself as `--emit obj` doesn't create an allocator shim. Note that currently the allocator shim also defines the oom error handler, which is normally required too. Once `#![feature(default_alloc_error_handler)]` becomes the only option, this can be avoided. In addition when using only fallible allocator methods and either `--cfg no_global_oom_handling` for liballoc (like rust-for-linux) or `--gc-sections` no references to the oom error handler will exist. To avoid this feature being insta-stable, you will have to define `__rust_no_alloc_shim_is_unstable` to avoid linker errors. (Labeling this with both T-compiler and T-lang as it originally involved both an implementation detail and had an insta-stable user facing change. As noted above, the `__rust_no_alloc_shim_is_unstable` symbol requirement should prevent unintended dependence on this unstable feature.)
Configuration menu - View commit details
-
Copy full SHA for e6d1a0e - Browse repository at this point
Copy the full SHA e6d1a0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03f275b - Browse repository at this point
Copy the full SHA 03f275bView commit details -
Added build instructions for cranelift backend as part of Rust repo
All other instructions assume that user works with separate repository than Rust compiler repository. When one follows default instructions, cranelift codegen tries to use different sys-root and compiler internal crates which leads to compiler errors when building it. I needed to do all this steps while adding new intrinsic to rustc.
Configuration menu - View commit details
-
Copy full SHA for 8aa3eba - Browse repository at this point
Copy the full SHA 8aa3ebaView commit details -
Rollup merge of rust-lang#111950 - cjgillot:expn-noinline, r=oli-obk
Remove ExpnKind::Inlined. Suggested in rust-lang#111815 (comment) r? ``@oli-obk``
Configuration menu - View commit details
-
Copy full SHA for 2f250c7 - Browse repository at this point
Copy the full SHA 2f250c7View commit details
Commits on May 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 35acd91 - Browse repository at this point
Copy the full SHA 35acd91View commit details -
Configuration menu - View commit details
-
Copy full SHA for b341529 - Browse repository at this point
Copy the full SHA b341529View commit details -
Configuration menu - View commit details
-
Copy full SHA for 202b14c - Browse repository at this point
Copy the full SHA 202b14cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72b194c - Browse repository at this point
Copy the full SHA 72b194cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd45794 - Browse repository at this point
Copy the full SHA bd45794View commit details
Commits on May 27, 2023
-
Rollup merge of rust-lang#111952 - cjgillot:drop-replace, r=WaffleLapkin
Remove DesugaringKind::Replace. A simple boolean flag is enough.
Configuration menu - View commit details
-
Copy full SHA for be82095 - Browse repository at this point
Copy the full SHA be82095View commit details
Commits on May 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 38b4b98 - Browse repository at this point
Copy the full SHA 38b4b98View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba0ab0a - Browse repository at this point
Copy the full SHA ba0ab0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d91fabd - Browse repository at this point
Copy the full SHA d91fabdView commit details -
Don't explicitly remove needs-unwind tests
Compiletest now respects panic=abort in the --print cfg output
Configuration menu - View commit details
-
Copy full SHA for 62e6035 - Browse repository at this point
Copy the full SHA 62e6035View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e87728 - Browse repository at this point
Copy the full SHA 4e87728View commit details
Commits on May 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b488625 - Browse repository at this point
Copy the full SHA b488625View commit details -
Rollup merge of rust-lang#111827 - AngelicosPhosphoros:add_docs_to_cr…
…anelift, r=bjorn3 Add build instructions for cranelift backend as part of Rust repo All other instructions assume that user works with separate repository than Rust compiler repository. When one follows default instructions, cranelift codegen tries to use different sys-root and compiler internal crates which leads to compiler errors when building it. I needed to do all this steps while adding new intrinsic to rustc. r? bjorn3
Configuration menu - View commit details
-
Copy full SHA for a2a8589 - Browse repository at this point
Copy the full SHA a2a8589View commit details
Commits on May 30, 2023
-
Rollup merge of rust-lang#112060 - lcnr:early-binder, r=jackh726
`EarlyBinder::new` -> `EarlyBinder::bind` for consistency with `Binder::bind`. it may make sense to also add `EarlyBinder::dummy` in places where we know that no parameters exist, but I left that out of this PR. r? `@jackh726` `@kylematsuda`
Configuration menu - View commit details
-
Copy full SHA for 04dca8f - Browse repository at this point
Copy the full SHA 04dca8fView commit details
Commits on Jun 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 919da2f - Browse repository at this point
Copy the full SHA 919da2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fcd93ac - Browse repository at this point
Copy the full SHA fcd93acView commit details
Commits on Jun 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b1961ba - Browse repository at this point
Copy the full SHA b1961baView commit details -
Configuration menu - View commit details
-
Copy full SHA for e369cce - Browse repository at this point
Copy the full SHA e369cceView commit details -
Rollup merge of rust-lang#112168 - scottmcm:lower-div-rem-unchecked-t…
…o-mir, r=oli-obk Lower `unchecked_div`/`_rem` to MIR's `BinOp::Div`/`Rem` As described in <https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/mir/enum.BinOp.html#variant.Div>, the ordinary `BinOp`s for these are already UB for division by zero ([or overflow](https://llvm.org/docs/LangRef.html#sdiv-instruction), [demo](https://rust.godbolt.org/z/71e7P7Exh)), as MIR building is responsible for inserting code to panic for those cases regardless of whether the overflow checks are enabled. So we can lower these in the same arm that lowers `wrapping_add` to MIR `BinOp::Add` and such, as all these cases turn into ordinary `Rvalue::BinaryOp`s.
Configuration menu - View commit details
-
Copy full SHA for 4ecd45a - Browse repository at this point
Copy the full SHA 4ecd45aView commit details
Commits on Jun 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f8cde58 - Browse repository at this point
Copy the full SHA f8cde58View commit details -
Implement all vendor intrinsics used by regex on AVX2 systems
This allows it to work with --sysroot llvm
Configuration menu - View commit details
-
Copy full SHA for 7690070 - Browse repository at this point
Copy the full SHA 7690070View commit details -
Configuration menu - View commit details
-
Copy full SHA for aeac484 - Browse repository at this point
Copy the full SHA aeac484View commit details -
Define rust_eh_personality for alloc_example
x86_64-pc-windows-gnu requires it to be defined.
Configuration menu - View commit details
-
Copy full SHA for 1797ae5 - Browse repository at this point
Copy the full SHA 1797ae5View commit details -
Skip LLVM sysroot testing for native x86_64-pc-windows-gnu in CI
It is way too slow and cross-compiled x86_64-pc-windows-gnu covers at least part of the tests.
Configuration menu - View commit details
-
Copy full SHA for 8fbd6f5 - Browse repository at this point
Copy the full SHA 8fbd6f5View commit details -
Merge pull request rust-lang#1378 from bjorn3/more_vendor_intrinsics
Implement all vendor intrinsics used by regex on AVX2 systems
Configuration menu - View commit details
-
Copy full SHA for 204c64b - Browse repository at this point
Copy the full SHA 204c64bView commit details
Commits on Jun 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 11b3fc6 - Browse repository at this point
Copy the full SHA 11b3fc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f36bb6d - Browse repository at this point
Copy the full SHA f36bb6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4d0811 - Browse repository at this point
Copy the full SHA e4d0811View commit details -
Configuration menu - View commit details
-
Copy full SHA for c09ef96 - Browse repository at this point
Copy the full SHA c09ef96View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4d8f1c - Browse repository at this point
Copy the full SHA d4d8f1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 436bed8 - Browse repository at this point
Copy the full SHA 436bed8View commit details
Commits on Jun 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c870c67 - Browse repository at this point
Copy the full SHA c870c67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d592ea - Browse repository at this point
Copy the full SHA 5d592eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45781e1 - Browse repository at this point
Copy the full SHA 45781e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7886be6 - Browse repository at this point
Copy the full SHA 7886be6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce3f300 - Browse repository at this point
Copy the full SHA ce3f300View commit details -
Allow building the build system using cargo
Rust's build system only handles cargo, not rustc.
Configuration menu - View commit details
-
Copy full SHA for d0b8896 - Browse repository at this point
Copy the full SHA d0b8896View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e41399 - Browse repository at this point
Copy the full SHA 0e41399View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75327f8 - Browse repository at this point
Copy the full SHA 75327f8View commit details -
Don't patch in place in apply_patches
This will make it easier to skip patching if unnecessary in the future
Configuration menu - View commit details
-
Copy full SHA for 2c38eff - Browse repository at this point
Copy the full SHA 2c38effView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc23a8a - Browse repository at this point
Copy the full SHA fc23a8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9129c0 - Browse repository at this point
Copy the full SHA b9129c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54eaa53 - Browse repository at this point
Copy the full SHA 54eaa53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3baee66 - Browse repository at this point
Copy the full SHA 3baee66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67f9fe6 - Browse repository at this point
Copy the full SHA 67f9fe6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3da972 - Browse repository at this point
Copy the full SHA d3da972View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ad9e9f - Browse repository at this point
Copy the full SHA 8ad9e9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb3e8bb - Browse repository at this point
Copy the full SHA eb3e8bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b9af8c - Browse repository at this point
Copy the full SHA 6b9af8cView commit details -
Only copy library dir for stdlib
When building as part of rust, the sysroot source dir is symlinked to the main source dir, which contains the build dir to which we are likely copying.
Configuration menu - View commit details
-
Copy full SHA for d0ea8bb - Browse repository at this point
Copy the full SHA d0ea8bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for bcac222 - Browse repository at this point
Copy the full SHA bcac222View commit details -
Copy Cargo.lock over in ./y.sh prepare
This makes it easier for ./x.py to vendor all dependencies
Configuration menu - View commit details
-
Copy full SHA for 8c1c84d - Browse repository at this point
Copy the full SHA 8c1c84dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a691b14 - Browse repository at this point
Copy the full SHA a691b14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 485d7e1 - Browse repository at this point
Copy the full SHA 485d7e1View commit details -
Auto merge of rust-lang#112314 - ferrocene:pa-core-alloc-abort, r=bjorn3
Ignore `core`, `alloc` and `test` tests that require unwinding on `-C panic=abort` Some of the tests for `core` and `alloc` require unwinding through their use of `catch_unwind`. These tests fail when testing using `-C panic=abort` (in my case through a target without unwinding support, and `-Z panic-abort-tests`), while they should be ignored as they don't indicate a failure. This PR marks all of these tests with this attribute: ```rust #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")] ``` I'm not aware of a way to test this on rust-lang/rust's CI, as we don't test any target with `-C panic=abort`, but I tested this locally on a Ferrocene target and it does indeed make the test suite pass.
Configuration menu - View commit details
-
Copy full SHA for 2445d74 - Browse repository at this point
Copy the full SHA 2445d74View commit details
Commits on Jun 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e9bd63a - Browse repository at this point
Copy the full SHA e9bd63aView commit details -
Merge pull request rust-lang#1357 from bjorn3/build_system_rework6
Support testing of cg_clif in rust's CI
Configuration menu - View commit details
-
Copy full SHA for f2895f3 - Browse repository at this point
Copy the full SHA f2895f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1fa3cf - Browse repository at this point
Copy the full SHA c1fa3cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8830dcc - Browse repository at this point
Copy the full SHA 8830dccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82b4972 - Browse repository at this point
Copy the full SHA 82b4972View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a120cc - Browse repository at this point
Copy the full SHA 8a120ccView commit details