summary refs log tree commit diff
path: root/src/bootstrap/native.rs
diff options
context:
space:
mode:
authorAlessandro Decina <alessandro.d@gmail.com>2020-11-30 19:41:57 +0000
committerAlessandro Decina <alessandro.d@gmail.com>2021-05-23 18:03:27 +1000
commit12e70929d66577f74cb6214bba5bf104e1f14aa2 (patch)
tree140448195cdbf393d03330a6ee276a42b2ca8156 /src/bootstrap/native.rs
parent92418ce65aa9d45fd1af355136d65493254a344a (diff)
downloadrust-12e70929d66577f74cb6214bba5bf104e1f14aa2.tar.gz
rust-12e70929d66577f74cb6214bba5bf104e1f14aa2.zip
Add BPF target
This change adds the bpfel-unknown-none and bpfeb-unknown-none targets
which can be used to generate little endian and big endian BPF
Diffstat (limited to 'src/bootstrap/native.rs')
-rw-r--r--src/bootstrap/native.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs
index 44c281efe22..49bbcb4d612 100644
--- a/src/bootstrap/native.rs
+++ b/src/bootstrap/native.rs
@@ -236,7 +236,7 @@ impl Step for Llvm {
             Some(s) => s,
             None => {
                 "AArch64;ARM;Hexagon;MSP430;Mips;NVPTX;PowerPC;RISCV;\
-                     Sparc;SystemZ;WebAssembly;X86"
+                     Sparc;SystemZ;WebAssembly;X86;BPF"
             }
         };