Initial poop
This commit is contained in:
commit
ca6dab46f1
3280 changed files with 3759 additions and 0 deletions
16
docs/programming/rust/crosscompiling.md
Normal file
16
docs/programming/rust/crosscompiling.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Crosscompiling
|
||||
|
||||
## Linux to Windows
|
||||
|
||||
### Dependencies
|
||||
|
||||
``` console
|
||||
$ rustup target list
|
||||
$ rustup target add x86_64-pc-windows-gnu
|
||||
$ sudo apt install mingw-w64
|
||||
```
|
||||
|
||||
### Building
|
||||
``` console
|
||||
$ cargo build --release --target=x86_64-pc-windows-gnu
|
||||
```
|
3
docs/programming/rust/installing.md
Normal file
3
docs/programming/rust/installing.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Installing
|
||||
|
||||
I suggest using [rustup](https://rustup.rs) for this. It is being [packaged](https://packages.debian.org/trixie/rustup) in Debian 13 (Trixie) but meanwhile use `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh` which sets up the default toolchain for you.
|
Loading…
Add table
Add a link
Reference in a new issue