Skip to content

Commit a4b0ddd

Browse files
committed
[rust] Support building on Windows ARM64
1 parent 9105916 commit a4b0ddd

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# cargo --config Cargo.aarch64-pc-windows-msvc.toml build
2+
#
3+
# Workaround ring issues to build on Windows ARM64.
4+
# See https://github.com/briansmith/ring/issues/1167 for details.
5+
[patch.crates-io]
6+
ring = { git = "https://github.com/awakecoding/ring", branch = "0.16.20_alpha" }

rust/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ INFO /home/boni/.cache/selenium/chromedriver/linux64/106.0.5249.61/chromedriver
8181

8282
Alternatively, you can replace `cargo run` with `bazel run //rust:selenium-manager`, for example `bazel run //rust:selenium-manager -- --browser chrome --debug`
8383

84+
### Windows ARM
85+
86+
There are issues when building on Windows ARM64. To workaround, use `cargo` with `--config Cargo.aarch64-pc-windows-msvc.toml` flag.
87+
8488
## Roadmap
8589
The implementation of Selenium Manager has been planned to be incremental. In the beginning, it should be a component that each Selenium language binding can optionally use to manage the local browser infrastructure. In the mid-term, and as long as it becomes more stable and complete, it could be used as the default tool for automated browser and driver management. All in all, the milestone we propose are the following:
8690

0 commit comments

Comments
 (0)