Skip to content

Commit

Permalink
[rust] Support building on Windows ARM64
Browse files Browse the repository at this point in the history
  • Loading branch information
p0deje committed Apr 21, 2023
1 parent 9105916 commit a4b0ddd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rust/Cargo.aarch64-pc-windows-msvc.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# cargo --config Cargo.aarch64-pc-windows-msvc.toml build
#
# Workaround ring issues to build on Windows ARM64.
# See https://github.com/briansmith/ring/issues/1167 for details.
[patch.crates-io]
ring = { git = "https://github.com/awakecoding/ring", branch = "0.16.20_alpha" }
4 changes: 4 additions & 0 deletions rust/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ INFO /home/boni/.cache/selenium/chromedriver/linux64/106.0.5249.61/chromedriver

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

### Windows ARM

There are issues when building on Windows ARM64. To workaround, use `cargo` with `--config Cargo.aarch64-pc-windows-msvc.toml` flag.

## Roadmap
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:

Expand Down

0 comments on commit a4b0ddd

Please sign in to comment.