Skip to content

Commit 93693a5

Browse files
committed
Disable the LTO warning for now
1 parent 34ed154 commit 93693a5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/back/write.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@ pub(crate) unsafe fn codegen(
167167

168168
// NOTE: without -fuse-linker-plugin, we get the following error:
169169
// lto1: internal compiler error: decompressed stream: Destination buffer is too small
170+
// TODO: since we do not do LTO when the linker is invoked anymore, perhaps
171+
// the following flag is not necessary anymore.
172+
// TODO: also, perhaps compiling the gcc driver in the CI is not necessary
173+
// anymore.
170174
context.add_driver_option("-fuse-linker-plugin");
171175
}
172176

0 commit comments

Comments
 (0)