diff options
| author | Joshua Nelson <github@jyn.dev> | 2022-12-22 10:34:27 -0600 |
|---|---|---|
| committer | Joshua Nelson <github@jyn.dev> | 2022-12-22 11:50:19 -0600 |
| commit | 0b3ffcbb0beed7bc0be168dadbff2904b85d3666 (patch) | |
| tree | 2350830f9698879dcc529bc2df67ad5f0342c187 /compiler/rustc_codegen_llvm | |
| parent | 2d76a9df5d040e8dfcb23e01fc3847c628d833e4 (diff) | |
| download | rust-0b3ffcbb0beed7bc0be168dadbff2904b85d3666.tar.gz rust-0b3ffcbb0beed7bc0be168dadbff2904b85d3666.zip | |
Allow building std with cranelift
- Don't pass llvm-specific args when using cranelift - Don't use `asm` in compiler_builtins when using cranelift
Diffstat (limited to 'compiler/rustc_codegen_llvm')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/intrinsic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/intrinsic.rs b/compiler/rustc_codegen_llvm/src/intrinsic.rs index 907517bf6ce..1ce48f82e1c 100644 --- a/compiler/rustc_codegen_llvm/src/intrinsic.rs +++ b/compiler/rustc_codegen_llvm/src/intrinsic.rs @@ -567,7 +567,7 @@ fn codegen_msvc_try<'ll>( // module. // // When modifying, make sure that the type_name string exactly matches - // the one used in src/libpanic_unwind/seh.rs. + // the one used in library/panic_unwind/src/seh.rs. let type_info_vtable = bx.declare_global("??_7type_info@@6B@", bx.type_i8p()); let type_name = bx.const_bytes(b"rust_panic\0"); let type_info = |
