Skip to content

Commit 7865b46

Browse files
committed
no codegen-units changes for compiler-builtins
1 parent 3214dba commit 7865b46

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

text/0000-build-std/4-build-std-always.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -418,17 +418,8 @@ otherwise) will be used.
418418

419419
`compiler-builtins` is always built with `-Ccodegen-units=10000` to force each
420420
intrinsic into its own object file to avoid symbol clashes with libgcc. This is
421-
currently enforced with a profile override in the standard library's workspace.
422-
423-
rustc will automatically use a large number of codegen units for the
424-
`compiler-builtins` crate, unless manually specified using the `-Ccodegen-units`
425-
flag (to support users, like Rust for Linux, that prefer a single codegen unit).
426-
This prevents `compiler-builtins` from having to be special-cased in the
427-
standard library workspace.
428-
429-
> [!NOTE]
430-
>
431-
> [rust#135395] could be resurrected to implement this.
421+
currently enforced with a profile override in the standard library's workspace
422+
and is unchanged.
432423

433424
See [*Allow local builds of `compiler-rt` intrinsics*][future-compiler-builtins-c]
434425
for discussion of the `compiler-builtins-c` feature.

0 commit comments

Comments
 (0)