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

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
4220587
`AlignmentEnum` should just be `repr(usize)` now
scottmcm Jul 30, 2025
9003a3b
make no_mangle explicit on foreign items
jdonszelmann Jul 29, 2025
8a3a7e6
Add lint against dangling pointers form local variables
Urgau Jul 22, 2025
21ec0d5
Allow `dangling_pointers_from_locals` lint in tests
Urgau Jul 22, 2025
90fad60
Port #[macro_export] to the new attribute parsing infrastructure
Periodic1911 Jul 12, 2025
19c6815
Multiple bounds checking elision failures
lucarlig Aug 1, 2025
066023e
feat: implement `hash_map!` macro
stifskere Aug 1, 2025
2f60cef
`Interner` arg to `EarlyBinder` does not affect auto traits
Veykril Aug 2, 2025
daa362e
Port `#[coroutine]` to the new attribute system
scrabsha Aug 1, 2025
870b58f
Update E0562 to account for the new impl trait positions
Noratrieb Aug 2, 2025
40f587a
Flatten `hash_owner_nodes` with an early-return
Zalathar Aug 2, 2025
d3e597a
Return a struct with named fields from `hash_owner_nodes`
Zalathar Aug 2, 2025
f87e829
update flags for consistency
Kivooeo Aug 2, 2025
8ca7986
update links
Kivooeo Aug 2, 2025
2ddf0ca
Change `ProcRes::print_info` to `format_info`
Zalathar Aug 2, 2025
d1d44d4
Consolidate all `ProcRes` unwinds into one code path
Zalathar Aug 2, 2025
1063b0f
Change `TestCx::error` to `error_prefix`, which returns a string
Zalathar Aug 2, 2025
f677227
Rollup merge of #143857 - Periodic1911:macro-export, r=jdonszelmann
Zalathar Aug 3, 2025
a44cb81
Rollup merge of #144070 - stifskere:feat/macros/hash_map, r=Noratrieb
Zalathar Aug 3, 2025
0d04692
Rollup merge of #144322 - Urgau:dangling-ptr-from-locals, r=oli-obk
Zalathar Aug 3, 2025
1c25304
Rollup merge of #144667 - scottmcm:alignment-is-usize, r=tgross35
Zalathar Aug 3, 2025
5251fa3
Rollup merge of #144678 - jdonszelmann:no-mangle-extern, r=bjorn3
Zalathar Aug 3, 2025
b83eefd
Rollup merge of #144790 - lucarlig:pr-bounds-elision, r=compiler-errors
Zalathar Aug 3, 2025
5af1ee5
Rollup merge of #144794 - scrabsha:push-noqrrttovmwy, r=jdonszelmann
Zalathar Aug 3, 2025
970d2f9
Rollup merge of #144805 - Zalathar:proc-res, r=jieyouxu
Zalathar Aug 3, 2025
2603e61
Rollup merge of #144808 - Veykril:push-uttkuyswqnzt, r=compiler-errors
Zalathar Aug 3, 2025
27f2ade
Rollup merge of #144816 - Noratrieb:e0562-impl-trait, r=WaffleLapkin
Zalathar Aug 3, 2025
7f41ec9
Rollup merge of #144822 - Zalathar:hash-owner-nodes, r=compiler-errors
Zalathar Aug 3, 2025
c3dda6b
Rollup merge of #144824 - Kivooeo:update-links, r=Noratrieb
Zalathar Aug 3, 2025
b6610c3
Rollup merge of #144829 - Kivooeo:strip-flag, r=WaffleLapkin
Zalathar Aug 3, 2025
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
update flags for consistency
  • Loading branch information
Kivooeo committed Aug 2, 2025
commit f87e829d6e8782ac719acb38236d4eeae06f62dd
5 changes: 3 additions & 2 deletions compiler/rustc_codegen_ssa/src/back/link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1011,11 +1011,12 @@ fn link_natively(
(Strip::Debuginfo, _) => {
strip_with_external_utility(sess, stripcmd, out_filename, &["--strip-debug"])
}
// Per the manpage, `-x` is the maximum safe strip level for dynamic libraries. (#93988)

// Per the manpage, --discard-all is the maximum safe strip level for dynamic libraries. (#93988)
(
Strip::Symbols,
CrateType::Dylib | CrateType::Cdylib | CrateType::ProcMacro | CrateType::Sdylib,
) => strip_with_external_utility(sess, stripcmd, out_filename, &["-x"]),
) => strip_with_external_utility(sess, stripcmd, out_filename, &["--discard-all"]),
(Strip::Symbols, _) => {
strip_with_external_utility(sess, stripcmd, out_filename, &["--strip-all"])
}
Expand Down
Loading