Skip to content

Commit

Permalink
Fix Linux build.
Browse files Browse the repository at this point in the history
  • Loading branch information
n3vu0r committed Oct 27, 2024
1 parent 40198e5 commit 65b1bf6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ jobs:
sudo apt update
sudo apt install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
- name: test
run: cargo test --all-features
run: cargo test --all-features --features bevy/wayland
- name: clippy
run: cargo clippy --tests --examples --all-features
run: cargo clippy --tests --examples --all-features --features bevy/wayland
- name: doc
run: cargo doc --all-features
run: cargo doc --all-features --features bevy/wayland
- name: fmt
run: cargo fmt --check
all-features-nightly:
Expand All @@ -80,12 +80,12 @@ jobs:
sudo apt update
sudo apt install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
- name: test
run: cargo test --all-features
run: cargo test --all-features --features bevy/wayland
- name: clippy
run: cargo clippy --tests --examples --all-features
run: cargo clippy --tests --examples --all-features --features bevy/wayland
- name: doc
env:
RUSTDOCFLAGS: --cfg docsrs
run: cargo doc --all-features
run: cargo doc --all-features --features bevy/wayland
- name: fmt
run: cargo fmt --check
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ away from the screen’s center (e.g., the rotation accelerates towards the edge

Following features are disabled unless their corresponding feature gate is enabled:

* `bevy_egui` for automatic viewport stealing whenever `egui` wants focus.
* `bevy_egui` for automatic viewport stealing whenever `egui` wants focus. On Linux you have
to enable either the `bevy/wayland` or the `bevy/x11` feature gate as well.
* `serialize` for `serde` support of various structures of this crate and its dependencies.
* `c11-orbit` for testing the behaviorally identical C implementation of the exponential map.

Expand Down
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@
//!
//! Following features are disabled unless their corresponding feature gate is enabled:
//!
//! * `bevy_egui` for automatic viewport stealing whenever `egui` wants focus.
//! * `bevy_egui` for automatic viewport stealing whenever `egui` wants focus. On Linux you have
//! to enable either the `bevy/wayland` or the `bevy/x11` feature gate as well.
//! * `serialize` for `serde` support of various structures of this crate and its dependencies.
//! * `c11-orbit` for testing the behaviorally identical C implementation of the exponential map.
//!
Expand Down

0 comments on commit 65b1bf6

Please sign in to comment.