aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wailes <chriswailes@google.com>2024-04-12 10:54:25 -0700
committerChris Wailes <chriswailes@google.com>2024-04-12 10:54:25 -0700
commitec12e0431934dc0c71d73ede9db9b6ef4e4af6e1 (patch)
tree0f309ee4df8fbbff3fe7a8de21bae26722d45841
parent9801b686e453221b5c8caaeb95061378bd908fc2 (diff)
downloadandroid_rust-ec12e0431934dc0c71d73ede9db9b6ef4e4af6e1.tar.gz
Fix Windows path issue
This CL restores an `as_posix()` call that is necessary for correct TOML parsing on Windows hosts. Test: N/A; Lack of Windows testing infra Change-Id: I2d20b90ccc756e427a49dd42cd7b0a956c056bca
-rw-r--r--src/android_rust/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android_rust/config.py b/src/android_rust/config.py
index f6f1268..2633a05 100644
--- a/src/android_rust/config.py
+++ b/src/android_rust/config.py
@@ -782,7 +782,7 @@ def configure(args: argparse.Namespace, env: dict[str, str]) -> None:
llvm_cxxflags=llvm_cc_flags_str,
llvm_ldflags=llvm_ld_flags_str,
llvm_lto_config=llvm_lto_config,
- llvm_cxx_runtime_path_host=LLVM_TOOLCHAIN_HOST.lib(),
+ llvm_cxx_runtime_path_host=LLVM_TOOLCHAIN_HOST.lib().as_posix(),
llvm_pgo_config=llvm_pgo_config,
stage0_host_triple=RUST_STAGE0_TRIPLE,
new_host_triple=args.host,