Workaround rust issue 50007
This commit is contained in:
parent
f76376c101
commit
5e4c957df4
@ -18,5 +18,10 @@ fde-phdr = ["libc"]
|
||||
fde-registry = ["alloc"]
|
||||
default = ["fde-phdr"]
|
||||
|
||||
[profile.dev]
|
||||
# Must be turned on due to Rust bug https://github.com/rust-lang/rust/issues/50007
|
||||
lto = true
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
debug = true
|
||||
|
@ -12,7 +12,7 @@ use core::alloc::{GlobalAlloc, Layout};
|
||||
use core::panic::PanicInfo;
|
||||
use core::{cmp, mem, ptr};
|
||||
use libc::c_int;
|
||||
use unwind::*;
|
||||
pub use unwind::*;
|
||||
|
||||
pub struct System;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user