I tried to use a project with crabtime that uses the -Zfmt-debug=none flag via .cargo/config.toml, however the macro did not produce any output.
To quickly fix this in my project, I patched the run_cargo_project function to just use empty RUSTFLAGS:
let output = Command::new("cargo")
.env("RUSTFLAGS", "")
.arg("run")
.arg("--target")
.arg(&host_target)
.current_dir(project_dir)
.output()
.context("Failed to execute cargo run")?;
Currently, it seems like all options from .cargo/config.toml of the project using crabtime are used to compile crabtime, is this necessary? 🙂
I tried to use a project with
crabtimethat uses the-Zfmt-debug=noneflag via.cargo/config.toml, however the macro did not produce any output.To quickly fix this in my project, I patched the
run_cargo_projectfunction to just use emptyRUSTFLAGS:Currently, it seems like all options from
.cargo/config.tomlof the project usingcrabtimeare used to compilecrabtime, is this necessary? 🙂