Skip to content

Commit b0692a6

Browse files
committed
compiler/rustc_target: Raise m68k-linux-gnu baseline to 68020
Atomic operations require 68020 or later on m68k-linux-gnu.
1 parent 1f5768b commit b0692a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_target/src/spec/m68k_unknown_linux_gnu.rs

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ use crate::spec::{Target, TargetOptions};
33

44
pub fn target() -> Target {
55
let mut base = super::linux_gnu_base::opts();
6+
base.cpu = "M68020".into();
67
base.max_atomic_width = Some(32);
78

89
Target {

0 commit comments

Comments
 (0)