Skip to content

Commit

Permalink
Rollup merge of rust-lang#110640 - glaubitz:m68k-baseline, r=oli-obk
Browse files Browse the repository at this point in the history
compiler/rustc_target: Raise m68k-linux-gnu baseline to 68020

Atomic operations require 68020 or later on m68k-linux-gnu.
  • Loading branch information
JohnTitor authored Apr 22, 2023
2 parents 581e741 + b0692a6 commit 18c16b5
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 18c16b5

Please sign in to comment.