Merge pull request #4027 from roc-lang/eprintln-comment

eprintln comment
This commit is contained in:
Anton-4 2022-09-13 13:28:09 +02:00 committed by GitHub
commit d85090d85b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -406,6 +406,9 @@ fn spawn_rebuild_thread(
let thread_local_target = target.clone();
std::thread::spawn(move || {
if !prebuilt {
// Printing to stderr because we want stdout to contain only the output of the roc program.
// We are aware of the trade-offs.
// `cargo run` follows the same approach
eprintln!("🔨 Rebuilding platform...");
}