Skip to content

Commit 357557f

Browse files
authored
Merge pull request #189 from davidhewitt/cross-compile-note
readme: add quick note on cross compiling
2 parents d85e8d6 + 95b7807 commit 357557f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ Finished processing dependencies for hello_rust==1.0
7979

8080
Or you can use commands like `bdist_wheel` (after installing `wheel`). See also [the notes in the documentation about building wheels](https://setuptools-rust.readthedocs.io/en/latest/building_wheels.html).
8181

82+
Cross-compiling is also supported, using either [`crossenv`](https://github.com/benfogle/crossenv) or [`cross`](https://github.com/rust-embedded/cross). For examples see the `test-cross-compile` and `test-cross` Github actions jobs in [`ci.yml`](https://github.com/PyO3/setuptools-rust/blob/main/.github/workflows/ci.yml).
83+
8284
By default, `develop` will create a debug build, while `install` will create a release build.
8385

8486
## Commands

0 commit comments

Comments
 (0)