Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
c58c06a
Return blocks from DropTree::build_mir
bjorn3 Mar 11, 2025
8dc0c0e
Simplify lit_to_mir_constant a bit
bjorn3 Mar 12, 2025
bdaf23b
Forward `stream_position` in `Arc<File>` as well
tbu- Mar 14, 2025
eca391f
Cleanup `LangString::parse`
yotamofek Mar 15, 2025
aa2c24b
uefi: Add OwnedEvent abstraction
Ayush1325 Mar 8, 2025
0bf529e
resolve: Avoid some unstable iteration 2
petrochenkov Mar 16, 2025
6362851
[bootstrap] Distribute split debuginfo if present
wesleywiser May 1, 2024
bcac931
Update test for SGX now implementing read_buf
thaliaarchi Mar 18, 2025
69a3ad0
Add `MutMirVisitor`
makai410 Mar 18, 2025
ad315f6
Add test for `MutMirVisitor`
makai410 Mar 18, 2025
a408043
add FCW to warn about wasm ABI transition
RalfJung Mar 17, 2025
3301e0e
make -Zwasm-c-abi=legacy suppress the lint
RalfJung Mar 17, 2025
63cfd47
Don't attempt to export compiler-builtins symbols from rust dylibs
bjorn3 Feb 27, 2025
530ab61
Also check for compiler-builtins in linked_symbols
bjorn3 Mar 21, 2025
1611ef7
Rollup merge of #137736 - bjorn3:compiler_builtins_export_fix, r=petr…
tgross35 Mar 22, 2025
5142c18
Rollup merge of #138236 - Ayush1325:uefi-event, r=petrochenkov
tgross35 Mar 22, 2025
c6813b0
Rollup merge of #138321 - wesleywiser:bootstrap_package_pdbs, r=onur-…
tgross35 Mar 22, 2025
2881e78
Rollup merge of #138410 - bjorn3:misc_cleanups, r=compiler-errors
tgross35 Mar 22, 2025
b578692
Rollup merge of #138490 - tbu-:pr_arc_file_pos, r=Noratrieb
tgross35 Mar 22, 2025
8834e78
Rollup merge of #138535 - yotamofek:pr/rustdoc/lang-string-parse-clea…
tgross35 Mar 22, 2025
834b6e7
Rollup merge of #138536 - makai410:mut-mir-visitor, r=celinval
tgross35 Mar 22, 2025
87c2a9f
Rollup merge of #138580 - petrochenkov:resinstab, r=Nadrieril
tgross35 Mar 22, 2025
d7573cd
Rollup merge of #138601 - RalfJung:wasm-abi-fcw, r=alexcrichton
tgross35 Mar 22, 2025
2799f83
Rollup merge of #138631 - thaliaarchi:sgx-read-buf-test, r=workingjub…
tgross35 Mar 22, 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
Also check for compiler-builtins in linked_symbols
Otherwise the linker complains about EC symbols missing when compiling
for arm64ec.
  • Loading branch information
bjorn3 committed Mar 21, 2025
commit 530ab61c0eca891773bb71716849e3e934e84e9f
4 changes: 3 additions & 1 deletion compiler/rustc_codegen_ssa/src/back/linker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1824,7 +1824,9 @@ pub(crate) fn linked_symbols(

let export_threshold = symbol_export::crates_export_threshold(&[crate_type]);
for_each_exported_symbols_include_dep(tcx, crate_type, |symbol, info, cnum| {
if info.level.is_below_threshold(export_threshold) || info.used {
if info.level.is_below_threshold(export_threshold) && !tcx.is_compiler_builtins(cnum)
|| info.used
{
symbols.push((
symbol_export::linking_symbol_name_for_instance_in_crate(tcx, symbol, cnum),
info.kind,
Expand Down
Loading