mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Convert unused dbg!()s to eprintln!()s
This makes it nicer to work with dbg! normally, because grepping the code base for dbg!() reveals only the usages of it that are currently active.
This commit is contained in:
parent
21b555d0b2
commit
bc0c9250f9
10 changed files with 9 additions and 17 deletions
|
@ -6,7 +6,7 @@ set -euxo pipefail
|
|||
# If we ever decide to do that, one of the cargo processes will need to use the `--target-dir` option.
|
||||
|
||||
# We need to clear RUSTFLAGS for this command, as CI sets normally some flags that are specific to CPU targets.
|
||||
# Tests target wasm32-wasi instead of wasm32-unknown-unknown, so that we can debug with println! and dbg!
|
||||
# Tests target wasm32-wasi instead of wasm32-unknown-unknown, so that we can debug with println! and dbg
|
||||
# This has to be built with lto for now. If we do not use lto, it will pull in system calls we don't yet support.
|
||||
# TODO: Add system calls to our wasi interp so that this can just be built in release without lto.
|
||||
RUSTFLAGS="" cargo build --locked --profile release-with-lto --target wasm32-wasi -p roc_repl_wasm --no-default-features --features wasi_test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue