diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2025-02-15 02:30:24 +0800 |
|---|---|---|
| committer | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2025-02-15 19:31:15 +0800 |
| commit | 4f87987e3f361a7d38bdf59d6542ba621f100c9e (patch) | |
| tree | 2b296c2f8a407077976b13ac486293a1bf9009c3 /library/std/src/io/error/tests.rs | |
| parent | f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9 (diff) | |
| download | rust-4f87987e3f361a7d38bdf59d6542ba621f100c9e.tar.gz rust-4f87987e3f361a7d38bdf59d6542ba621f100c9e.zip | |
bootstrap: build compiler libs with version number of libs being built
Previously, on a non-stable channel, it's possible for two builds from different versioned sources (e.g. 1.84.0 vs 1.84.1) to produce `librustc_driver*.so` with the same filename hashes. This causes problems with side-by-side installs wrt. linker search paths because 1.84.1 rustc bin and 1.84.0 may try to link to the "same" `librustc_driver*.so` (same filename hash) but fail because the contents of the so is actually different. We try to mitigate this by including the version number of artifacts being built via `__CARGO_DEFAULT_LIB_METADATA`.
Diffstat (limited to 'library/std/src/io/error/tests.rs')
0 files changed, 0 insertions, 0 deletions
