Skip to content

🎥 Make videos programmatically with React

add windows as a rust target

Jonny Burger12450e6f0d17
diff --git a/packages/.cargo/config.toml b/packages/.cargo/config.toml
index 723456b35a..3b3b6f469a 100644
--- a/packages/.cargo/config.toml
+++ b/packages/.cargo/config.toml
@@ -8,7 +8,9 @@ target = [
# macOS ARM
"aarch64-apple-darwin",
# macOS ARM
- "x86_64-apple-darwin"
+ "x86_64-apple-darwin",
+ # Windows x64
+ "x86_64-pc-windows-gnu",
]
diff --git a/packages/rust/README.md b/packages/rust/README.md
index 76ef3b28fa..21bb3c9c85 100644
--- a/packages/rust/README.md
+++ b/packages/rust/README.md
@@ -8,3 +8,7 @@ sh install_platforms.sh
brew install MaterializeInc/crosstools/x86_64-unknown-linux-gnu
brew install MaterializeInc/crosstools/aarch64-unknown-linux-gnu
```
+
+```sh
+brew install mingw-w64
+```
diff --git a/packages/rust/install_platforms.sh b/packages/rust/install_platforms.sh
index bdb800efb4..cd19ea806f 100644
--- a/packages/rust/install_platforms.sh
+++ b/packages/rust/install_platforms.sh
@@ -2,3 +2,4 @@ rustup target add x86_64-unknown-linux-gnu
rustup target add aarch64-unknown-linux-gnu
rustup target add x86_64-apple-darwin
rustup target add aarch64-apple-darwin
+rustup target add x86_64-pc-windows-gnu