Skip to content

Commit 949c461

Browse files
committed
Updated rustc version
1 parent 8bce3a7 commit 949c461

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

rustc_codegen_clr_call/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ impl CallInfo {
5757
let split_last_tuple = match internal_abi {
5858
TargetAbi::C { unwind: _ }
5959
| TargetAbi::Cdecl { unwind: _ }
60-
| TargetAbi::RustIntrinsic
6160
| TargetAbi::Rust
6261
| TargetAbi::RustCold
6362
| TargetAbi::Unadjusted

src/function_sig.rs

-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ pub fn sig_from_instance_<'tcx>(
6363
match internal_abi {
6464
TargetAbi::C { unwind: _ }
6565
| TargetAbi::Cdecl { unwind: _ }
66-
| TargetAbi::RustIntrinsic
6766
| TargetAbi::Rust
6867
| TargetAbi::RustCold
6968
| TargetAbi::RustCall => (), /*Err(CodegenError::FunctionABIUnsuported(

src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,8 @@ impl CodegenBackend for MyBackend {
264264
.downcast::<(IString, Assembly, EncodedMetadata, CrateInfo)>()
265265
.expect("in join_codegen: ongoing_codegen is not an Assembly");
266266
let asm_name = "";
267-
let serialized_asm_path = outputs.temp_path(OutputType::Bitcode, Some(asm_name));
267+
let serialized_asm_path =
268+
outputs.temp_path_for_cgu(OutputType::Bitcode, asm_name, None);
268269
//std::fs::create_dir_all(&serialized_asm_path).expect("Could not create the directory temporary files are supposed to be in.");
269270

270271
let mut asm_out = std::fs::File::create(&serialized_asm_path).expect(

0 commit comments

Comments
 (0)