Skip to content

Commit

Permalink
Rename bin/wgpu_runner.rs to main.rs (#1111)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
fornwall authored Jan 2, 2024
1 parent 83f8c72 commit ed697bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
File renamed without changes.

0 comments on commit ed697bc

Please sign in to comment.