about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2021-08-25 07:43:42 +0000
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2021-09-17 15:07:12 +0000
commitdf7ad3af210efbb42239780c62176eeaa73dcb5b (patch)
tree48347a09891bab0387ad5f588bf29d937d5957b5
parent0ad0d305ffdebe15127a5c766ce5d9978ce1fe0f (diff)
downloadrust-df7ad3af210efbb42239780c62176eeaa73dcb5b.tar.gz
rust-df7ad3af210efbb42239780c62176eeaa73dcb5b.zip
bootstrap: Add LLVM target matching for M68k
-rw-r--r--config.toml.example2
-rw-r--r--src/bootstrap/native.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/config.toml.example b/config.toml.example
index c2d51c140b4..aff4e8fa82a 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -103,7 +103,7 @@ changelog-seen = 2
 # the same format as above, but since these targets are experimental, they are
 # not built by default and the experimental Rust compilation targets that depend
 # on them will not work unless the user opts in to building them.
-#experimental-targets = "AVR"
+#experimental-targets = "AVR;M68k"
 
 # Cap the number of parallel linker invocations when compiling LLVM.
 # This can be useful when building LLVM with debug info, which significantly
diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs
index 0e306cb7211..27c9bb2504f 100644
--- a/src/bootstrap/native.rs
+++ b/src/bootstrap/native.rs
@@ -165,7 +165,7 @@ impl Step for Llvm {
 
         let llvm_exp_targets = match builder.config.llvm_experimental_targets {
             Some(ref s) => s,
-            None => "AVR",
+            None => "AVR;M68k",
         };
 
         let assertions = if builder.config.llvm_assertions { "ON" } else { "OFF" };