Skip to content

Commit 82f5208

Browse files
committed
add bpf-linker assembly support
Port of rust-lang/rust#110853.
1 parent b46fd33 commit 82f5208

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/runtest.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1752,6 +1752,10 @@ actual:\n\
17521752
rustc.arg("--emit=asm");
17531753
}
17541754

1755+
Some("bpf-linker") => {
1756+
rustc.arg("-Clink-args=--emit=asm");
1757+
}
1758+
17551759
Some("ptx-linker") => {
17561760
// No extra flags needed.
17571761
}

0 commit comments

Comments
 (0)