@@ -82,6 +82,9 @@ Stabilized APIs
82
82
Cargo
83
83
-----
84
84
85
+ - [ Cargo uses the ` embed-bitcode ` flag to optimize disk usage and build
86
+ time.] [ cargo/8066 ]
87
+
85
88
Misc
86
89
----
87
90
- [ Rustdoc now supports strikethrough text in Markdown.] [ 71928 ] E.g.
@@ -97,12 +100,18 @@ Compatibility Notes
97
100
- [ Rustdoc's CLI's extra error exit codes have been removed.] [ 71900 ] These were
98
101
previously undocumented and not intended for public use. Rustdoc still provides
99
102
a non-zero exit code on errors.
103
+ - [ Rustc's ` lto ` flag is incompatible with the new ` embed-bitcode=no ` .] [ 71848 ]
104
+ This may cause issues if LTO is enabled through ` RUSTFLAGS ` or ` cargo rustc `
105
+ flags while cargo is adding ` embed-bitcode ` itself. The recommended way to
106
+ control LTO is with Cargo profiles, either in ` Cargo.toml ` or ` .cargo/config ` ,
107
+ or by setting ` CARGO_PROFILE_<name>_LTO ` in the environment.
100
108
101
109
Internals Only
102
110
--------------
103
111
- [ Make clippy a git subtree instead of a git submodule] [ 70655 ]
104
112
- [ Unify the undo log of all snapshot types] [ 69464 ]
105
113
114
+ [ 71848 ] : https://github.com/rust-lang/rust/issues/71848/
106
115
[ 73420 ] : https://github.com/rust-lang/rust/issues/73420/
107
116
[ 72324 ] : https://github.com/rust-lang/rust/pull/72324/
108
117
[ 71843 ] : https://github.com/rust-lang/rust/pull/71843/
@@ -129,6 +138,7 @@ Internals Only
129
138
[ 69813 ] : https://github.com/rust-lang/rust/pull/69813/
130
139
[ 69464 ] : https://github.com/rust-lang/rust/pull/69464/
131
140
[ 68717 ] : https://github.com/rust-lang/rust/pull/68717/
141
+ [ cargo/8066 ] : https://github.com/rust-lang/cargo/pull/8066
132
142
[ `Arc::as_ptr` ] : https://doc.rust-lang.org/stable/std/sync/struct.Arc.html#method.as_ptr
133
143
[ `BTreeMap::remove_entry` ] : https://doc.rust-lang.org/stable/std/collections/struct.BTreeMap.html#method.remove_entry
134
144
[ `Rc::as_ptr` ] : https://doc.rust-lang.org/stable/std/rc/struct.Rc.html#method.as_ptr
0 commit comments