Skip to content

Commit c2efa1b

Browse files
authored
Remove outdated statement from the readme (#119)
Since rust-lang/rust#113923 no_builtins crates participate in LTO too.
1 parent d608135 commit c2efa1b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ functions and replacing them with calls, which effectively makes them uselessly
4646
recursive calls to themselves.
4747

4848
However, `#[no_builtins]` is too pessimistic, because we don't need to disable
49-
all pattern matching, just these specific cases. And, `#[no_builtins]`
50-
[interferes with LTO optimization].
49+
all pattern matching, just these specific cases.
5150

5251
So instead, c-scape and c-gull are just careful to avoid open-coding functions
5352
which are known to get pattern-matched into builtins, by just calling the
@@ -60,7 +59,6 @@ using `#![no_builtins]`.
6059
[tinyrlibc]: https://github.com/rust-embedded-community/tinyrlibc
6160
[c-scape-example]: https://github.com/sunfishcode/c-ward/blob/main/example-crates/c-scape-example
6261
[c-gull-example]: https://github.com/sunfishcode/c-ward/blob/main/example-crates/c-gull-example
63-
[interferes with LTO optimization]: https://github.com/rust-lang/rust/blob/72e29da3eccd3e4c1fb2c581fa33216db50fcc93/compiler/rustc_codegen_ssa/src/back/link.rs#L1264
6462
[Mustang]: https://github.com/sunfishcode/mustang#readme
6563
[Eyra]: https://github.com/sunfishcode/eyra#readme
6664
["coexist-with-libc" mode]: https://github.com/sunfishcode/c-ward/blob/main/example-crates/libc-replacement#readme

0 commit comments

Comments
 (0)