Skip to content

Commit 0841c1a

Browse files
committed
Disable the KMS/DRM backend by default
1 parent 7444a0c commit 0841c1a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,17 @@ jobs:
4545

4646
# Wayland, KMS/DRM, X11
4747
- target: i686-unknown-linux-gnu
48+
features: "kms,x11,x11-dlopen,wayland,wayland-dlopen"
4849
- target: x86_64-unknown-linux-gnu
50+
features: "kms,x11,x11-dlopen,wayland,wayland-dlopen"
4951
- target: x86_64-unknown-linux-gnu
5052
features: "x11,x11-dlopen"
5153
- target: x86_64-unknown-linux-gnu
5254
features: "wayland,wayland-dlopen"
5355
- target: x86_64-unknown-linux-gnu
5456
features: "kms"
5557
- target: x86_64-unknown-freebsd
58+
features: "kms,x11,x11-dlopen,wayland,wayland-dlopen"
5659
- target: x86_64-unknown-netbsd
5760
features: "x11,x11-dlopen,wayland,wayland-dlopen"
5861

@@ -98,7 +101,7 @@ jobs:
98101
# - { target: x86_64-pc-windows-gnu, os: windows-latest, host: -x86_64-pc-windows-gnu }
99102
# - { target: i686-pc-windows-gnu, os: windows-latest, host: -i686-pc-windows-gnu }
100103
- { target: i686-unknown-linux-gnu, os: ubuntu-latest, }
101-
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest, }
104+
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest, features: "kms" }
102105
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest, options: --no-default-features, features: "x11,x11-dlopen" }
103106
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest, options: --no-default-features, features: "wayland,wayland-dlopen" }
104107
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest, options: --no-default-features, features: "kms" }

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ name = "buffer_mut"
1717
harness = false
1818

1919
[features]
20-
default = ["kms", "x11", "x11-dlopen", "wayland", "wayland-dlopen"]
20+
default = ["x11", "x11-dlopen", "wayland", "wayland-dlopen"]
2121
kms = ["bytemuck", "drm", "rustix"]
2222
wayland = [
2323
"wayland-backend",

0 commit comments

Comments
 (0)