diff options
| author | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2023-04-21 13:27:13 +0200 |
|---|---|---|
| committer | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2023-04-21 13:27:13 +0200 |
| commit | b0692a626b9247fe01f2009fb8a112f05942b5a4 (patch) | |
| tree | c3c187e496c21930b31160e19d1b7469eb932dcb | |
| parent | 1f5768bc67ecb025342770e14e03699699965706 (diff) | |
| download | rust-b0692a626b9247fe01f2009fb8a112f05942b5a4.tar.gz rust-b0692a626b9247fe01f2009fb8a112f05942b5a4.zip | |
compiler/rustc_target: Raise m68k-linux-gnu baseline to 68020
Atomic operations require 68020 or later on m68k-linux-gnu.
| -rw-r--r-- | compiler/rustc_target/src/spec/m68k_unknown_linux_gnu.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_target/src/spec/m68k_unknown_linux_gnu.rs b/compiler/rustc_target/src/spec/m68k_unknown_linux_gnu.rs index ebd74012dcd..9bcd56bed00 100644 --- a/compiler/rustc_target/src/spec/m68k_unknown_linux_gnu.rs +++ b/compiler/rustc_target/src/spec/m68k_unknown_linux_gnu.rs @@ -3,6 +3,7 @@ use crate::spec::{Target, TargetOptions}; pub fn target() -> Target { let mut base = super::linux_gnu_base::opts(); + base.cpu = "M68020".into(); base.max_atomic_width = Some(32); Target { |
