LLVM Bitcode Linker: Add as a linker known to the compiler

This commit is contained in:
Kjetil Kjeka
2024-02-06 19:46:12 +01:00
parent af42d2a4b2
commit 43f2055af5
4 changed files with 142 additions and 9 deletions

View File

@@ -56,7 +56,10 @@ impl Target {
LinkerFlavor::Msvc(..) => {
assert_matches!(flavor, LinkerFlavor::Msvc(..))
}
LinkerFlavor::EmCc | LinkerFlavor::Bpf | LinkerFlavor::Ptx => {
LinkerFlavor::EmCc
| LinkerFlavor::Bpf
| LinkerFlavor::Ptx
| LinkerFlavor::Llbc => {
assert_eq!(flavor, self.linker_flavor)
}
}