You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the Rust community gets more developers coming from JIT'ed or interpreted languages like Java, Python, Ruby, etc., we are going to see more problems where they assume rustc my_file.rs will give fast results even though optimizations are off by default. This can be seen in several threads on Stack Overflow and other forums, including Rust's own (http://users.rust-lang.org/t/reading-numbers-from-a-file/171).
I suggest that when no optimization flags are enabled, rustc should print out a message similar to the following:
rustc my_file.rs
Note: Optimizations are disabled (debug mode). Turn them on by passing the -O flag.
The text was updated successfully, but these errors were encountered:
Refiling rust-lang/rfcs#777 as it seems more appropriate here.
The text was updated successfully, but these errors were encountered: