-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.O-windowsOperating system: WindowsOperating system: Windows
Description
---- [run-pass] run-pass/process-remove-from-env.rs stdout ----
thread '[run-pass] run-pass/process-remove-from-env.rs' panicked at 'called `Result::unwrap()` on an `Err` value: FromUtf8Error { bytes: [ /* some bytes */ ], error: Utf8Error { valid_up_to: 251 } }', C:/msys64/home/rust/src/libcore\result.rs:729
The failure happens in Command::spawn
when the output of the command cmd /c set
used in the test contains cyrillic letters. Probably some pieces of Changing the system locale to English (USA) or replacing process
use locale-dependent encoding (Windows-1251 in this case) instead of unicode.cmd
with something like echo foo
makes this error go away.
Metadata
Metadata
Assignees
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.O-windowsOperating system: WindowsOperating system: Windows