Funny Rust compiler behavior on Windows
⚓ Rust 📅 2026-07-06 👤 surdeus 👁️ 1Rust has many artifacts on Windows I already pointed earlier, for example, using the bright white to display error messages. Another one I found just recently:
error: the generated executable for the input file "C:\Users\sunil\projects\rust_bee\src\main.rs" conflicts with the existing directory "rb"
error: aborting due to 1 previous error
What's wrong here? Executable on Windows has extension 'exe'. However Rust ignores that and checks if it can be created without any extension and fails. The issue clear specifies that finding bugs should never stop, Rust compiler exists since 2015, but after 10 years still has childish bugs.
5 posts - 3 participants
🏷️ Rust_feed