summary refs log tree commit diff
path: root/src/doc/rustc
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/doc/rustc
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/doc/rustc')
-rw-r--r--src/doc/rustc/src/codegen-options/index.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/doc/rustc/src/codegen-options/index.md b/src/doc/rustc/src/codegen-options/index.md
index 077c322bd77..7d86d4b0acd 100644
--- a/src/doc/rustc/src/codegen-options/index.md
+++ b/src/doc/rustc/src/codegen-options/index.md
@@ -234,6 +234,8 @@ flavor. Valid options are:
 * `ptx-linker`: use
   [`rust-ptx-linker`](https://github.com/denzp/rust-ptx-linker) for Nvidia
   NVPTX GPGPU support.
+* `bpf-linker`: use
+  [`bpf-linker`](https://github.com/alessandrod/bpf-linker) for eBPF support.
 * `wasm-ld`: use the [`wasm-ld`](https://lld.llvm.org/WebAssembly.html)
   executable, a port of LLVM `lld` for WebAssembly.
 * `ld64.lld`: use the LLVM `lld` executable with the [`-flavor darwin`