Skip to content
Merged
Changes from 2 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
bf26f24
Clarify/update comments in `BufRead::read_line`'s default body
steffahn Feb 20, 2025
33ee398
More precisely document `Global::deallocate()`'s safety.
kpreid Feb 25, 2025
775cb23
doc: update Wasmtime flags
DaniPopes Feb 27, 2025
3a6f269
improve error message and testing of using an unsigned simd mask
folkertdev Mar 1, 2025
6f7fd11
rustc_target: Add msync target feature and enable it on powerpcspe ta…
taiki-e Mar 1, 2025
596c14a
fix `RangeBounds::is_empty` documentation
pitaj Mar 1, 2025
c51b229
Disable `f16` on Aarch64 without `neon`
tgross35 Mar 1, 2025
6079827
Adjust triagebot.toml entries for `rustc_mir_build/src/builder/`
Zalathar Mar 2, 2025
4d0a1af
edit mailmap
jdonszelmann Mar 2, 2025
298fb8a
Add name and trimmed_name methods to DefId
NotLebedev Mar 1, 2025
141d2f3
Replace usages of `Context.def_name`
NotLebedev Mar 1, 2025
a3378f5
Remove duplication in `name`/`trimmed_anem` docs
NotLebedev Mar 2, 2025
f47c7e8
Rollup merge of #137375 - steffahn:clarify-read_line-comment, r=Mark-…
matthiaskrgr Mar 2, 2025
e8134a3
Rollup merge of #137641 - kpreid:dealloc, r=Amanieu
matthiaskrgr Mar 2, 2025
bb091f2
Rollup merge of #137755 - DaniPopes:wasmtime-threads-flag, r=Noratrieb
matthiaskrgr Mar 2, 2025
bb089d7
Rollup merge of #137851 - folkertdev:simd-intrinsic-mask-signed, r=wo…
matthiaskrgr Mar 2, 2025
1762f01
Rollup merge of #137860 - taiki-e:powerpcspe-msync, r=workingjubilee
matthiaskrgr Mar 2, 2025
c994a29
Rollup merge of #137871 - pitaj:rangebounds-is_empty-intersect, r=sco…
matthiaskrgr Mar 2, 2025
8152da8
Rollup merge of #137873 - tgross35:disable-f16-without-neon, r=workin…
matthiaskrgr Mar 2, 2025
d031bb3
Rollup merge of #137876 - Zalathar:triagebot-matches, r=jieyouxu
matthiaskrgr Mar 2, 2025
0ed4856
Rollup merge of #137883 - jdonszelmann:edit-mailmap, r=Noratrieb
matthiaskrgr Mar 2, 2025
59fe0c7
Rollup merge of #137886 - NotLebedev:stable-mir-91, r=oli-obk
matthiaskrgr Mar 2, 2025
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions library/std/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ fn main() {
.expect("CARGO_CFG_TARGET_POINTER_WIDTH was not set")
.parse()
.unwrap();
let target_features: Vec<_> = env::var("CARGO_CFG_TARGET_FEATURE")
.unwrap_or_default()
.split(",")
.map(ToOwned::to_owned)
.collect();
let is_miri = env::var_os("CARGO_CFG_MIRI").is_some();

println!("cargo:rustc-check-cfg=cfg(netbsd10)");
Expand Down Expand Up @@ -101,6 +106,8 @@ fn main() {
("s390x", _) => false,
// Unsupported <https://github.com/llvm/llvm-project/issues/94434>
("arm64ec", _) => false,
// LLVM crash <https://github.com/llvm/llvm-project/issues/129394>
("aarch64", _) if !target_features.iter().any(|f| f == "neon") => false,
// MinGW ABI bugs <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115054>
("x86_64", "windows") if target_env == "gnu" && target_abi != "llvm" => false,
// Infinite recursion <https://github.com/llvm/llvm-project/issues/97981>
Expand Down