Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
e243f8d
Merge commit '89f54caacf90e99fc8ba0d60a28bdadea3cfdf1e' into sync_cg_…
bjorn3 Apr 11, 2024
bf02a87
Merge branch 'sync_from_rust'
bjorn3 Apr 11, 2024
71e7414
Allow MaybeUninit in input and output of inline assembly
taiki-e Apr 14, 2024
49ad3ae
Merge pull request #1481 from taiki-e/asm-maybe-uninit
bjorn3 Apr 14, 2024
5075386
Rustup to rustc 1.79.0-nightly (0d8b3346a 2024-04-14)
bjorn3 Apr 15, 2024
9e4e444
static_mut_refs: use raw pointers to remove the remaining FIXME
RalfJung Apr 15, 2024
fbac8ef
Cranelift: Revert raw-dylib for Windows futex APIs
ChrisDenton Apr 16, 2024
f532309
ScalarInt: add methods to assert being a (u)int of given size
RalfJung Apr 18, 2024
a2a949b
Auto merge of #124113 - RalfJung:interpret-scalar-ops, r=oli-obk
bors Apr 19, 2024
4027a52
Sync from rust f9b16149208c8a8a349c32813312716f6603eb6f
bjorn3 Apr 20, 2024
82dd93f
Rustup to rustc 1.79.0-nightly (f9b161492 2024-04-19)
bjorn3 Apr 20, 2024
9ad9620
Don't create data object for zero sized allocations
bjorn3 Apr 20, 2024
be9d7ca
Rollup merge of #123967 - RalfJung:static_mut_refs, r=Nilstrieb
jieyouxu Apr 20, 2024
72e6f0c
Remove a couple of items from the crate prelude
bjorn3 Apr 21, 2024
e654877
Also handle AggregateKind::RawPtr in cg_cranelift
scottmcm Apr 12, 2024
a74d6c2
Only apply --cap-lints to the extended_sysroot test suite
bjorn3 Apr 22, 2024
8bc15fb
Sync from rust fb898629a26e4acec59c928ce3ec00a62675d1cc
bjorn3 Apr 22, 2024
d0c5141
Rustup to rustc 1.79.0-nightly (fb898629a 2024-04-21)
bjorn3 Apr 22, 2024
8bf1687
Fix neon test on non arm64 targets
bjorn3 Apr 22, 2024
569df1d
Inline CValue::pointer_from_data_and_meta
bjorn3 Apr 22, 2024
498dbbd
Fix warning in alloc_system.rs
bjorn3 Apr 22, 2024
d569c84
Update libloading
bjorn3 Apr 22, 2024
c02f6c5
Update windows-trgets to 0.52.5
bjorn3 Apr 22, 2024
cea3e7d
Update syn, quote and proc-macro2
bjorn3 Apr 22, 2024
966e269
Update data structure crates
bjorn3 Apr 22, 2024
2c6ef5a
Update a couple of crates
bjorn3 Apr 22, 2024
6ec27fe
Update to Cranelift 0.107
bjorn3 Mar 31, 2024
041666a
Update abi-cafe ui128 test expectations
bjorn3 Apr 1, 2024
de5d652
Rustup to rustc 1.79.0-nightly (7f2fc33da 2024-04-22)
bjorn3 Apr 23, 2024
3d682cf
Merge commit 'de5d6523738fd44a0521b6abf3e73ae1df210741' into sync_cg_…
bjorn3 Apr 23, 2024
7c968a2
Update allowed cg_clif deps
bjorn3 Apr 23, 2024
96152c7
Fix broken subtree sync
bjorn3 Apr 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Only apply --cap-lints to the extended_sysroot test suite
  • Loading branch information
bjorn3 committed Apr 22, 2024
commit a74d6c2125761f96e156a4e924298fcecb8333eb
10 changes: 5 additions & 5 deletions build_system/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ pub(crate) fn run_tests(
&& !skip_tests.contains(&"testsuite.extended_sysroot");

if run_base_sysroot || run_extended_sysroot {
let mut target_compiler = build_sysroot::build_sysroot(
let target_compiler = build_sysroot::build_sysroot(
dirs,
channel,
sysroot_kind,
Expand All @@ -299,11 +299,8 @@ pub(crate) fn run_tests(
rustup_toolchain_name,
target_triple.clone(),
);
// Rust's build system denies a couple of lints that trigger on several of the test
// projects. Changing the code to fix them is not worth it, so just silence all lints.
target_compiler.rustflags.push("--cap-lints=allow".to_owned());

let runner = TestRunner::new(
let mut runner = TestRunner::new(
dirs.clone(),
target_compiler,
use_unstable_features,
Expand All @@ -319,6 +316,9 @@ pub(crate) fn run_tests(
}

if run_extended_sysroot {
// Rust's build system denies a couple of lints that trigger on several of the test
// projects. Changing the code to fix them is not worth it, so just silence all lints.
runner.target_compiler.rustflags.push("--cap-lints=allow".to_owned());
runner.run_testsuite(EXTENDED_SYSROOT_SUITE);
} else {
eprintln!("[SKIP] extended_sysroot tests");
Expand Down
1 change: 1 addition & 0 deletions example/alloc_example.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![feature(start, core_intrinsics, alloc_error_handler, lang_items)]
#![allow(internal_features)]
#![no_std]

extern crate alloc;
Expand Down
2 changes: 1 addition & 1 deletion example/float-minmax-pass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Test that the simd_f{min,max} intrinsics produce the correct results.

#![feature(repr_simd, core_intrinsics)]
#![allow(non_camel_case_types)]
#![allow(internal_features, non_camel_case_types)]

#[repr(simd)]
#[derive(Copy, Clone, PartialEq, Debug)]
Expand Down
1 change: 1 addition & 0 deletions example/mod_bench.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![feature(start, core_intrinsics, lang_items)]
#![allow(internal_features)]
#![no_std]

#[cfg_attr(unix, link(name = "c"))]
Expand Down
1 change: 1 addition & 0 deletions example/std_example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
tuple_trait,
unboxed_closures
)]
#![allow(internal_features)]

#[cfg(target_arch = "x86_64")]
use std::arch::x86_64::*;
Expand Down