diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-10-14 06:02:36 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-14 06:02:36 +0900 |
| commit | 70f8e1a56f4c88b8599b17f6ab5587ccae7a873e (patch) | |
| tree | e8021c6604a99208df7a862f46350caa8ebb9c75 /compiler/rustc_codegen_llvm/src | |
| parent | 083638cfcf891911458efb4a9d50f66ca7bd1fc5 (diff) | |
| parent | a0fc455d301ba715a10e81bedb1358abbc1d133b (diff) | |
| download | rust-70f8e1a56f4c88b8599b17f6ab5587ccae7a873e.tar.gz rust-70f8e1a56f4c88b8599b17f6ab5587ccae7a873e.zip | |
Rollup merge of #77892 - est31:remove_redundant_absolute_paths, r=lcnr
Replace absolute paths with relative ones Modern compilers allow reaching external crates like std or core via relative paths in modules outside of lib.rs and main.rs.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm_util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs index a4605f46309..88d73f2a864 100644 --- a/compiler/rustc_codegen_llvm/src/llvm_util.rs +++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs @@ -122,7 +122,7 @@ unsafe fn configure_llvm(sess: &Session) { llvm::LLVMInitializePasses(); - ::rustc_llvm::initialize_available_targets(); + rustc_llvm::initialize_available_targets(); llvm::LLVMRustSetLLVMOptions(llvm_args.len() as c_int, llvm_args.as_ptr()); } |
