Skip to content

Commit a559c79

Browse files
committed
aarch64 is rtools44 now
1 parent 6f787f5 commit a559c79

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,20 @@ If you *vendor* the full rust code in your R package, you must name authors of a
6363

6464
As of writing (October 2023), the `aarch64-pc-windows-gnullvm` target has [tier-3 status](https://doc.rust-lang.org/rustc/platform-support/pc-windows-gnullvm.html) and is not yet supported in the standard rustup distribution. If you install the standard rustup toolchain on Windows it will produce x86_64 binaries, even on ARM64, so that won't work.
6565

66-
However msys2 has been shipping arm64 rust toolchains for a while, and they work great. Hence, one way to test your Rust packages on arm64-windows is to install rust using pacman in rtools43 or msys2:
66+
However msys2 has been shipping arm64 rust toolchains for a while, and they work great. Hence, one way to test your Rust packages on arm64-windows is to install rust using pacman in rtools44 or msys2:
6767

6868
```sh
6969
pacman -Sy mingw-w64-clang-aarch64-rust
7070
```
7171

72-
This will install cargo/rust into `C:\msys64\clangarm64\bin` or in `C:\rtools43-aarch64\clangarm64\bin` if you used msys2 from rtools43. To use this toolchain in R, we need to put this directory on the PATH, for example using your `~/.Renviron` file:
72+
This will install cargo/rust into `C:\msys64\clangarm64\bin` or in `C:\rtools44-aarch64\clangarm64\bin` if you used msys2 from rtools44. To use this toolchain in R, we need to put this directory on the PATH, for example using your `~/.Renviron` file:
7373

7474
```sh
7575
## Upstream msys2:
7676
## PATH="c:\msys64\clangarm64\bin;${PATH}"
7777

78-
## Rtools43 msys2:
79-
PATH="${RTOOLS43_AARCH64_HOME}\\clangarm64\\bin;${PATH}"
78+
## Rtools44 msys2
79+
PATH="${RTOOLS44_AARCH64_HOME}\\clangarm64\\bin;${PATH}"
8080
```
8181

8282
If you previously have installed rust via rustup, you might have to remove this first (`rustup self uninstall`), because many packages automatically put `$(USERPROFILE)\.cargo\bin` on the PATH, and as said, this toolchain does not support aarch64 targets.
@@ -85,4 +85,4 @@ You can test it by installing the hellorust R package:
8585

8686
```r
8787
install.packages("hellorust")
88-
```
88+
```

0 commit comments

Comments
 (0)