immunant / c2rust

Migrate C code to Rust
https://c2rust.com/
Other
3.79k stars 219 forks source link

c2rust-transpile: only delete compile_commands.json if it was a temp file #1079

Closed fw-immunant closed 2 months ago

fw-immunant commented 2 months ago

Our current logic here will delete an existing compile_commands.json file if it is the only argument.