Skip to content

Commit

Permalink
compiler/rustc_target: Raise m68k-linux-gnu baseline to 68020
Browse files Browse the repository at this point in the history
Atomic operations require 68020 or later on m68k-linux-gnu.
  • Loading branch information
glaubitz committed Apr 21, 2023
1 parent 1f5768b commit b0692a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_target/src/spec/m68k_unknown_linux_gnu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b0692a6

Please sign in to comment.