Skip to content

Commit 64e08e6

Browse files
committed
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
1 parent 5e52b61 commit 64e08e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/toolchain.rs

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ fn linker_and_flavor(sess: &Session) -> (PathBuf, LinkerFlavor) {
6767
LinkerFlavor::Msvc => "link.exe",
6868
LinkerFlavor::Lld(_) => "lld",
6969
LinkerFlavor::PtxLinker => "rust-ptx-linker",
70+
LinkerFlavor::BpfLinker => "bpf-linker",
7071
}),
7172
flavor,
7273
)),

0 commit comments

Comments
 (0)