Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brunosalerno/rnibbles
https://github.com/brunosalerno/rnibbles
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/brunosalerno/rnibbles
- Owner: BrunoSalerno
- Created: 2022-09-25T14:54:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-29T15:53:08.000Z (almost 2 years ago)
- Last Synced: 2024-06-13T21:03:01.044Z (5 months ago)
- Language: Rust
- Size: 123 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Rnibbles
=======
3D Nibbles game in Rust using the Bevy framework.Building and running
--------------------Make sure Rust and Cargo are installed.
1. Clone this repo
2. Run `cargo run`Cross compilation
-----------------
1. Install [Cross](https://github.com/cross-rs/cross) and [cross-toolchains](https://github.com/cross-rs/cross-toolchains).
2. Build cross image for the desired arch (in this case, msvc x86_64)
```bash
cargo build-docker-image x86_64-pc-windows-msvc-cross
```
3. Make sure that the [Cross.toml file](Cross.toml) has an entry for your desired arch, pointing to the image just built.
Note. Some archs already have default images.4. Build the release`using the right arch:
```bash
cross build --release --target x86_64-pc-windows-msvc
```