Wafer
Wafer copied to clipboard
Unable to start on Windows
Steps to reproduce
- Compile wafer project by Windows Rust compiler rustc 1.73.0 (cc66ad468 2023-10-03)
- Run .\target\debug\wafer.exe (it will use default wafer.yaml)
Expected result Successful run of calculation
Actual result
Error loading configuration: Unable to create the output directory './output/develop_2023-10-25_20:43:55' caused by: The filename, directory name, or volume label syntax is incorrect. (os error 123)
Additional details
The generated project folder name has colon symbols ':'. It is unacceptable on Windows.
Method wafer::output::get_project_dir()
should sanitize the time component of name as well.