about summary refs log tree commit diff
path: root/compiler/rustc_llvm/src/lib.rs
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-09-16 10:25:40 +1000
committerGitHub <noreply@github.com>2025-09-16 10:25:40 +1000
commit9eaf3c8864122850e284f9409dd9a920e6e3d0d1 (patch)
tree425e6204ee8bf3038d0a9fc2646db063455142ef /compiler/rustc_llvm/src/lib.rs
parentf162d113513ba0a1252b4fe2642953bde3b6d3a1 (diff)
parentdbfa01b6a19ac62ba559e38c2b95ef26fd90ee39 (diff)
downloadrust-9eaf3c8864122850e284f9409dd9a920e6e3d0d1.tar.gz
rust-9eaf3c8864122850e284f9409dd9a920e6e3d0d1.zip
Rollup merge of #146466 - klensy:llvm-wrapper-c, r=cuviper
llvm-wrapper: other cleanup

Cleanup few things around llvm-wrapper:

First commit removes unused macro, added back in https://github.com/rust-lang/rust/pull/31709 it was used in `LLVMRustHasFeature`; second removes unused function, third one removes `jsbackend` llvm component - this is looks like remnants of some removed backend?
Diffstat (limited to 'compiler/rustc_llvm/src/lib.rs')
-rw-r--r--compiler/rustc_llvm/src/lib.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_llvm/src/lib.rs b/compiler/rustc_llvm/src/lib.rs
index ed5edeef161..14e94121d1c 100644
--- a/compiler/rustc_llvm/src/lib.rs
+++ b/compiler/rustc_llvm/src/lib.rs
@@ -180,12 +180,6 @@ pub fn initialize_available_targets() {
         LLVMInitializeSystemZAsmParser
     );
     init_target!(
-        llvm_component = "jsbackend",
-        LLVMInitializeJSBackendTargetInfo,
-        LLVMInitializeJSBackendTarget,
-        LLVMInitializeJSBackendTargetMC
-    );
-    init_target!(
         llvm_component = "msp430",
         LLVMInitializeMSP430TargetInfo,
         LLVMInitializeMSP430Target,