Skip to content

Commit ed697bc

Browse files
author
Fredrik Fornwall
authored
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
1 parent 83f8c72 commit ed697bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

android.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Tested in `NIXPKGS_ACCEPT_ANDROID_SDK_LICENSE=1 nix-shell android.nix --pure`,
44
# by running the following commands (x64 target is for the Android Emulator):
55
# rustup target add aarch64-linux-android x86_64-linux-android
6-
# cargo apk build -p example-runner-wgpu --target aarch64-linux-android
7-
# cargo apk build -p example-runner-wgpu --target x86_64-linux-android
6+
# cargo apk build -p example-runner-wgpu --lib --target aarch64-linux-android
7+
# cargo apk build -p example-runner-wgpu --lib --target x86_64-linux-android
88
#
99
# (you can also replace `cargo apk build` with `cargo apk run` to launch it,
1010
# via `adb`, into either the Android Emulator, or a physical Android device)

0 commit comments

Comments
 (0)