73b65746e8
Fixes #35785 by converting non UTF-8 linker output to Unicode using the OEM code page. Before: ```text = note: Non-UTF-8 output: LINK : fatal error LNK1181: cannot open input file \'m\x84rchenhaft.obj\'\r\n ``` After: ```text = note: LINK : fatal error LNK1181: cannot open input file 'märchenhaft.obj' ``` The difference is more dramatic if using a non-ascii language pack for Visual Studio.
56 lines
1.6 KiB
TOML
56 lines
1.6 KiB
TOML
[package]
|
|
name = "rustc_codegen_ssa"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
test = false
|
|
|
|
[dependencies]
|
|
ar_archive_writer = "0.1.3"
|
|
bitflags = "1.2.1"
|
|
cc = "1.0.69"
|
|
itertools = "0.10.1"
|
|
tracing = "0.1"
|
|
jobserver = "0.1.22"
|
|
tempfile = "3.2"
|
|
thorin-dwp = "0.4"
|
|
pathdiff = "0.2.0"
|
|
serde_json = "1.0.59"
|
|
snap = "1"
|
|
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
|
|
regex = "1.4"
|
|
|
|
rustc_serialize = { path = "../rustc_serialize" }
|
|
rustc_arena = { path = "../rustc_arena" }
|
|
rustc_ast = { path = "../rustc_ast" }
|
|
rustc_span = { path = "../rustc_span" }
|
|
rustc_middle = { path = "../rustc_middle" }
|
|
rustc_type_ir = { path = "../rustc_type_ir" }
|
|
rustc_attr = { path = "../rustc_attr" }
|
|
rustc_fluent_macro = { path = "../rustc_fluent_macro" }
|
|
rustc_symbol_mangling = { path = "../rustc_symbol_mangling" }
|
|
rustc_data_structures = { path = "../rustc_data_structures" }
|
|
rustc_errors = { path = "../rustc_errors" }
|
|
rustc_fs_util = { path = "../rustc_fs_util" }
|
|
rustc_hir = { path = "../rustc_hir" }
|
|
rustc_incremental = { path = "../rustc_incremental" }
|
|
rustc_index = { path = "../rustc_index" }
|
|
rustc_macros = { path = "../rustc_macros" }
|
|
rustc_metadata = { path = "../rustc_metadata" }
|
|
rustc_query_system = { path = "../rustc_query_system" }
|
|
rustc_target = { path = "../rustc_target" }
|
|
rustc_session = { path = "../rustc_session" }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2.50"
|
|
|
|
[dependencies.object]
|
|
version = "0.30.1"
|
|
default-features = false
|
|
features = ["read_core", "elf", "macho", "pe", "unaligned", "archive", "write"]
|
|
|
|
[target.'cfg(windows)'.dependencies.windows]
|
|
version = "0.46.0"
|
|
features = ["Win32_Globalization"]
|