Skip to content

Commit 9ee3722

Browse files
committed
runtime/memory-map: work around rust#47493
on non-optimized builds we reference _Unwind_Resume; see rust-lang/rust#47493 enabling LTO is an easy workaround until a cleaner solution is available upstream
1 parent 4d73ab4 commit 9ee3722

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

runtime/memory-map/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ nonoverlapping_interval_tree = { version = "0.1.5", default_features = false }
1212
[profile.dev]
1313
panic = "abort"
1414
strip = "symbols"
15+
lto = true
1516

1617
[profile.release]
1718
panic = "abort"
1819
strip = "symbols"
20+
lto = true

0 commit comments

Comments
 (0)