Skip to content

Commit 436473b

Browse files
committed
Add M68000 entry to arch_to_gcc
1 parent 9f33f84 commit 436473b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gcc_util.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use rustc_data_structures::fx::{FxHashMap, FxHashSet};
88
use rustc_data_structures::unord::UnordSet;
99
use rustc_session::Session;
1010
use rustc_target::target_features::RUSTC_SPECIFIC_FEATURES;
11-
use smallvec::{SmallVec, smallvec};
11+
use smallvec::{smallvec, SmallVec};
1212

1313
use crate::errors::{
1414
ForbiddenCTargetFeature, PossibleFeature, UnknownCTargetFeature, UnknownCTargetFeaturePrefix,
@@ -242,6 +242,7 @@ pub fn to_gcc_features<'a>(sess: &Session, s: &'a str) -> SmallVec<[&'a str; 2]>
242242

243243
fn arch_to_gcc(name: &str) -> &str {
244244
match name {
245+
"M68000" => "68000",
245246
"M68020" => "68020",
246247
_ => name,
247248
}

0 commit comments

Comments
 (0)