mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 13:52:55 +03:00
8092886146
Lua appears to populate package.path to something based on the executable path on windows, but since it uses msvcrt in ANSI mode, that string is encoded in whatever 8-bit MBCS is configured by the host system ACP setting. Rust expects that to be UTF-8, but Windows doesn't guarantee it. This commit updates the manifest for wezterm-gui to tell Windows that it wants its ACP to be set to UTF-8 prior to launch, which should resolve this situation for the GUI. This commit also introduces a more cut-down manifest for the console-subsystem executables that also use the lua config layer, which should hopefully resolve this issue for them. This commit was authored on a mac, so fingers crossed that it even compiles properly on windows! refs: https://github.com/wez/wezterm/issues/3390
35 lines
1.1 KiB
TOML
35 lines
1.1 KiB
TOML
[package]
|
|
name = "wezterm-mux-server"
|
|
version = "0.1.0"
|
|
authors = ["Wez Furlong <wez@wezfurlong.org>"]
|
|
edition = "2018"
|
|
resolver = "2"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
async_ossl = { path = "../async_ossl" }
|
|
clap = {version="4.0", features=["derive"]}
|
|
config = { path = "../config" }
|
|
env-bootstrap = { path = "../env-bootstrap" }
|
|
libc = "0.2"
|
|
log = "0.4"
|
|
mux = { path = "../mux" }
|
|
mlua = "0.8.3"
|
|
openssl = "0.10"
|
|
portable-pty = { path = "../pty", features = ["serde_support"]}
|
|
promise = { path = "../promise" }
|
|
umask = { path = "../umask" }
|
|
wezterm-blob-leases = { path = "../wezterm-blob-leases", version="0.1", features=["simple_tempdir"] }
|
|
wezterm-mux-server-impl = { path = "../wezterm-mux-server-impl" }
|
|
wezterm-gui-subcommands = { path = "../wezterm-gui-subcommands" }
|
|
wezterm-term = { path = "../term" }
|
|
|
|
[target."cfg(windows)".dependencies]
|
|
winapi = { version = "0.3", features = [ "winuser" ]}
|
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
embed-resource = "1.7"
|
|
cc = "1.0"
|