Skip to content
Merged
Changes from 2 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
4189005
explicitly start `va_list` lifetime
folkertdev Sep 2, 2025
39d51d0
thread parking: fix docs and examples
RalfJung Aug 26, 2025
1cb749a
support integer literals in `${concat()}`
cyrgani Sep 7, 2025
c776fbf
check before test for hardware capabilites in bits 32~63 of usize
h3fang Sep 8, 2025
be284b6
add some comments to clarify the fix
h3fang Sep 8, 2025
de359c5
fix typos in comment
h3fang Sep 8, 2025
94fbb21
implement `va_arg` for arm in rustc itself
folkertdev Jul 27, 2025
469a80e
all tidy extra checks now print what they do in present tense
lolbinarycat Sep 8, 2025
a9d884d
tidy: py:lint extra check now works with --bless
lolbinarycat Sep 8, 2025
c19d81b
tidy extra checks that interact with --bless now all recommend using it
lolbinarycat Sep 8, 2025
8222f7d
tidy extra checks: use Error::FailedCheck correctly
lolbinarycat Sep 8, 2025
1a13522
Update `browser-ui-test` version to `0.22.2`
GuillaumeGomez Sep 9, 2025
5a36fe2
Improve suggestion in case a bare URL is surrounded by brackets
GuillaumeGomez Sep 10, 2025
3205e4d
Add new ui tests for `rustdoc::bare_urls`
GuillaumeGomez Sep 10, 2025
7966ae0
Simplify code for `find_raw_urls`
GuillaumeGomez Sep 10, 2025
458f387
Bump miow to 0.60.1
dpaoliello Sep 10, 2025
9fe101b
Remove unused import from sys/pal/hermit/os.rs
mkroening Sep 10, 2025
af5355c
Implement `Socket::take_error` for Hermit
mkroening Sep 10, 2025
0928026
rwlock tests: fix miri macos test regression
RalfJung Sep 11, 2025
8d1403c
Change the default value of `gcc.download-ci-gcc` to `true`
Kobzol Sep 11, 2025
bfd5a26
Correctly handle literal search on paths
GuillaumeGomez Sep 11, 2025
04a1dd1
Add regression test for literal search on paths
GuillaumeGomez Sep 11, 2025
18d0dcb
fix config for poison macro test
connortsui20 Sep 11, 2025
256aa0d
Fix `libgccjit` symlink when we build GCC locally
Kobzol Sep 11, 2025
6354c51
update doc comment
connortsui20 Sep 11, 2025
1793eec
test: remove an outdated normalization for rustc versions
cuviper Sep 11, 2025
4c849c7
fix typo in comment
h3fang Sep 12, 2025
48d6841
Rollup merge of #144549 - folkertdev:va-arg-arm, r=saethlin
Zalathar Sep 12, 2025
1037c08
Rollup merge of #145895 - RalfJung:unpark, r=joboet
Zalathar Sep 12, 2025
40520c6
Rollup merge of #146308 - cyrgani:concat-integer-literals, r=jackh726
Zalathar Sep 12, 2025
7429420
Rollup merge of #146323 - h3fang:issue-146230-fix, r=Amanieu
Zalathar Sep 12, 2025
27954ec
Rollup merge of #146332 - lolbinarycat:tidy-extra-checks-regularize, …
Zalathar Sep 12, 2025
119109e
Rollup merge of #146374 - GuillaumeGomez:update-browser-ui-test, r=Gu…
Zalathar Sep 12, 2025
322f5dc
Rollup merge of #146413 - GuillaumeGomez:rustdoc-bare-urls, r=lolbina…
Zalathar Sep 12, 2025
a7a6445
Rollup merge of #146426 - dpaoliello:miow, r=lqd
Zalathar Sep 12, 2025
f40d78f
Rollup merge of #146432 - hermit-os:hermit-take_error, r=joboet
Zalathar Sep 12, 2025
312e15f
Rollup merge of #146433 - RalfJung:rwlock-miri, r=tgross35
Zalathar Sep 12, 2025
7e3aa41
Rollup merge of #146435 - Kobzol:gcc-download-default-true, r=Guillau…
Zalathar Sep 12, 2025
2e51a38
Rollup merge of #146439 - connortsui20:fix-sync-macro-attr, r=RalfJung
Zalathar Sep 12, 2025
249730f
Rollup merge of #146448 - GuillaumeGomez:fix-literal-search-paths, r=…
Zalathar Sep 12, 2025
accb4a3
Rollup merge of #146449 - Kobzol:gcc-fix-symlink, r=GuillaumeGomez
Zalathar Sep 12, 2025
be33ef2
Rollup merge of #146455 - cuviper:no-rustc-version, r=jieyouxu
Zalathar Sep 12, 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
14 changes: 13 additions & 1 deletion src/bootstrap/src/core/build_steps/gcc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,27 @@ pub struct GccOutput {
impl GccOutput {
/// Install the required libgccjit library file(s) to the specified `path`.
pub fn install_to(&self, builder: &Builder<'_>, directory: &Path) {
if builder.config.dry_run() {
return;
}

// At build time, cg_gcc has to link to libgccjit.so (the unversioned symbol).
// However, at runtime, it will by default look for libgccjit.so.0.
// So when we install the built libgccjit.so file to the target `directory`, we add it there
// with the `.0` suffix.
let mut target_filename = self.libgccjit.file_name().unwrap().to_str().unwrap().to_string();
target_filename.push_str(".0");

// If we build libgccjit ourselves, then `self.libgccjit` can actually be a symlink.
// In that case, we have to resolve it first, otherwise we'd create a symlink to a symlink,
// which wouldn't work.
let actual_libgccjit_path = t!(
self.libgccjit.canonicalize(),
format!("Cannot find libgccjit at {}", self.libgccjit.display())
);

let dst = directory.join(target_filename);
builder.copy_link(&self.libgccjit, &dst, FileType::NativeLibrary);
builder.copy_link(&actual_libgccjit_path, &dst, FileType::NativeLibrary);
}
}

Expand Down