Skip to content

Instantly share code, notes, and snippets.

@ljedrz
ljedrz / gist:476185e2ea30fffa4960637f4d5137c6
Created June 17, 2018 17:44
Cargo error with a non-ASCII name
Compiling my_project v0.1.0 (file:///C:/b%C4%99c/my_project)
error: linking with `gcc` failed: exit code: 1
|
= note: "gcc" "-Wl,--enable-long-section-names" "-fno-use-linker-plugin" "-Wl,--nxcompat" "-nostdlib" "-m64" "C:\\Program Files\\Rust stable GNU 1.26\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\crt2.o" "C:\\Program Files\\Rust stable GNU 1.26\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "-L" "C:\\Program Files\\Rust stable GNU 1.26\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "c:\\bęc\\my_project\\target\\debug\\deps\\my_project-a503a057c9598e66.10mk4k6z127pkm4v.rcgu.o" "c:\\bęc\\my_project\\target\\debug\\deps\\my_project-a503a057c9598e66.11644v4jvcswc3c5.rcgu.o" "c:\\bęc\\my_project\\target\\debug\\deps\\my_project-a503a057c9598e66.12418ahc4lb3ofex.rcgu.o" "c:\\bęc\\my_project\\target\\debug\\deps\\my_project-a503a057c9598e66.1245uey96i206o3j.rcgu.o" "c:\\bęc\\my_project\\target\\debug\\deps\\my_project-a503a057c9598e66.12dmpzqkxi7a0fa.rcgu.o" "c:\\bęc\\my_project\\target\\debug\\deps\\