rust-lang / rustc_codegen_cranelift

Cranelift based backend for rustc
Apache License 2.0
1.52k stars 94 forks source link

[question] use cranelift with rust-analyzer #1335

Closed alexzanderr closed 1 year ago

alexzanderr commented 1 year ago

hello

i want to know if i can use cranelift with rust-analyzer, because rust-analyzer messes up my target directory.

how? when i open the editor, rust-analyzer starts building again from scratch. when i close the editor and build in the command line with cargo-clif, the build is done again from the beginning.

so there are different build artfiacts, ofcourse, and that is a problem.

bjorn3 commented 1 year ago

Resolved in https://github.com/rust-lang/rust-analyzer/issues/13878