File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ gccjit = "2.7"
31
31
[dev-dependencies ]
32
32
boml = " 0.3.1"
33
33
lang_tester = " 0.8.0"
34
- tempfile = " 3.20"
34
+ tempfile = " 3.20.0 "
35
35
36
36
[profile .dev ]
37
37
# By compiling dependencies with optimizations, performing tests gets much faster.
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ impl CodegenBackend for GccCodegenBackend {
206
206
// NOTE: try the LTO frontend and check if it errors out. If so, do not embed the bitcode.
207
207
{
208
208
let temp_dir = TempDir :: new ( ) . expect ( "cannot create temporary directory" ) ;
209
- let temp_file = temp_dir. into_path ( ) . join ( "result.asm" ) ;
209
+ let temp_file = temp_dir. keep ( ) . join ( "result.asm" ) ;
210
210
let context = Context :: default ( ) ;
211
211
let object_file_path = temp_file. to_str ( ) . expect ( "path to str" ) ;
212
212
context. compile_to_file ( gccjit:: OutputKind :: ObjectFile , object_file_path) ;
You can’t perform that action at this time.
0 commit comments