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

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
c8c6598
Unify intrinsics body handling in StableMIR
celinval Jun 12, 2024
dfc5514
Add `f16` and `f128` inline ASM support for `x86` and `x86-64`
beetrees Jun 13, 2024
4440f50
rustc_span: Add conveniences for working with span formats
petrochenkov Mar 3, 2024
6fea953
rustc_span: By-value interface for ctxt update
petrochenkov Jun 11, 2024
220f3ec
rustc_span: Remove transmutes from span encoding
petrochenkov Jun 13, 2024
7999dbb
Regenerate `requirements.txt` by Python 3.9
dianqk Jun 14, 2024
ab7fc60
End support for Python 3.8 in tidy
dianqk Jun 14, 2024
04af371
Also sort `crt-static` in `--print target-features` output
Enselic Jun 13, 2024
c906d2e
Enable const evaluation for `f16` and `f128`
tgross35 Jun 13, 2024
eab5e8e
Make the unary operator `FloatTy` check exhaustive
tgross35 Jun 13, 2024
5cb58ad
Add `f16` and `f128` support to Miri
tgross35 Jun 13, 2024
e649042
Remove f16 const eval crash test
tgross35 Jun 14, 2024
78d4802
Use `std::path::absolute` in bootstrap
ChrisDenton Jun 14, 2024
416888f
Polish `std::path::absolute` documentation.
kpreid Jun 13, 2024
297c97d
.mailmap: Associate both my work and my private email with me
Enselic Jun 15, 2024
5fac572
Rollup merge of #125829 - petrochenkov:upctxt2, r=michaelwoerister
matthiaskrgr Jun 15, 2024
dad74aa
Rollup merge of #126361 - celinval:issue-0079-intrinsic, r=oli-obk
matthiaskrgr Jun 15, 2024
0f2cc21
Rollup merge of #126417 - beetrees:f16-f128-inline-asm-x86, r=Amanieu
matthiaskrgr Jun 15, 2024
21de992
Rollup merge of #126424 - Enselic:sort-target-features, r=lqd
matthiaskrgr Jun 15, 2024
a224902
Rollup merge of #126428 - kpreid:absolute, r=jhpratt
matthiaskrgr Jun 15, 2024
3775f2f
Rollup merge of #126429 - tgross35:f16-f128-const-eval, r=RalfJung
matthiaskrgr Jun 15, 2024
4f9bf4c
Rollup merge of #126448 - DianQK:tidy-python, r=onur-ozkan
matthiaskrgr Jun 15, 2024
d00e71e
Rollup merge of #126488 - ChrisDenton:absolute, r=albertlarsan68
matthiaskrgr Jun 15, 2024
128e2b4
Rollup merge of #126511 - Enselic:mailmap, r=lqd
matthiaskrgr Jun 15, 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
Also sort crt-static in --print target-features output
I didn't find `crt-static` at first (for `x86_64-unknown-linux-gnu`),
because it was put at the bottom the large and otherwise sorted list.

Fully sort the list before we print it.

Note that `llvm_target_features` starts out sorted and does not need to
be sorted an extra time.
  • Loading branch information
Enselic committed Jun 14, 2024
commit 04af37170cc6a608f87b48706d49be3504585f58
5 changes: 5 additions & 0 deletions compiler/rustc_codegen_llvm/src/llvm_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,10 +394,15 @@ fn print_target_features(out: &mut dyn PrintBackendInfo, sess: &Session, tm: &ll
(*feature, desc)
})
.collect::<Vec<_>>();

// Since we add this at the end ...
rustc_target_features.extend_from_slice(&[(
"crt-static",
"Enables C Run-time Libraries to be statically linked",
)]);
// ... we need to sort the list again.
rustc_target_features.sort();

llvm_target_features.retain(|(f, _d)| !known_llvm_target_features.contains(f));

let max_feature_len = llvm_target_features
Expand Down