mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
x86_64-unknown-none: Use position-independent code by default
This avoids requiring relocation code, which a bare-metal environment may not have or want.
This commit is contained in:
parent
9704a837be
commit
3a1879299e
@ -14,7 +14,7 @@ pub fn target() -> Target {
|
||||
linker: Some("rust-lld".to_owned()),
|
||||
features: "+strict-align,+neon,+fp-armv8".to_string(),
|
||||
executables: true,
|
||||
relocation_model: RelocModel::Static,
|
||||
relocation_model: RelocModel::Pic,
|
||||
disable_redzone: true,
|
||||
max_atomic_width: Some(128),
|
||||
panic_strategy: PanicStrategy::Abort,
|
||||
|
Loading…
Reference in New Issue
Block a user