Closed1

can't find crate for `profiler_builtins`で怒られる

serinuntiusserinuntius

なんかwasmのビルドで怒られる。

$ cargo run --target wasm32-unknown-unknown
   Compiling cfg-if v1.0.0
error[E0463]: can't find crate for `profiler_builtins`
  |
  = note: the compiler may have been built without the profiler runtime

For more information about this error, try `rustc --explain E0463`.
error: could not compile `cfg-if` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed

まったく身に覚えがなかった。

解決策

別のPJで設定していた、FLAGを消す。

export RUSTFLAGS="-Zinstrument-coverage"
このスクラップは2022/05/27にクローズされました