mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-23 23:35:48 +00:00
Rename bin/wgpu_runner.rs to main.rs (#1111)
* Rename bin/wgpu_runner.rs to main.rs Fixes running `cargo run --bin example-runner-wgpu` as documented at https://embarkstudios.github.io/rust-gpu/book/building-rust-gpu.html * Add --lib to sample commands in android.nix
This commit is contained in:
parent
83f8c72f04
commit
ed697bc192
@ -3,8 +3,8 @@
|
||||
# Tested in `NIXPKGS_ACCEPT_ANDROID_SDK_LICENSE=1 nix-shell android.nix --pure`,
|
||||
# by running the following commands (x64 target is for the Android Emulator):
|
||||
# rustup target add aarch64-linux-android x86_64-linux-android
|
||||
# cargo apk build -p example-runner-wgpu --target aarch64-linux-android
|
||||
# cargo apk build -p example-runner-wgpu --target x86_64-linux-android
|
||||
# cargo apk build -p example-runner-wgpu --lib --target aarch64-linux-android
|
||||
# cargo apk build -p example-runner-wgpu --lib --target x86_64-linux-android
|
||||
#
|
||||
# (you can also replace `cargo apk build` with `cargo apk run` to launch it,
|
||||
# via `adb`, into either the Android Emulator, or a physical Android device)
|
||||
|
Loading…
Reference in New Issue
Block a user