Skip to content

Commit eb4a2b7

Browse files
cwfitzgeraldWumpf
authored andcommitted
Bring xtasks back into workspace
1 parent 8235cd2 commit eb4a2b7

File tree

13 files changed

+178
-590
lines changed

13 files changed

+178
-590
lines changed

.cargo/config.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[alias]
2-
xtask = "run --manifest-path xtask/Cargo.toml --"
2+
xtask = "run -p wgpu-xtask --"

.deny.toml

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ skip-tree = [
1515
{ name = "capacity_builder", version = "0.1.3" },
1616
]
1717
skip = [
18+
# num-cpu uses an old version
19+
{ name = "hermit-abi", version = "0.3.9" },
20+
# Deno uses an old version
21+
{ name = "which", version = "6.0.3" },
22+
1823
# criterion uses an old version
1924
{ name = "itertools", version = "0.10.5" },
2025
# bindgen (used by deno) uses old version

.github/workflows/ci.yml

-3
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,6 @@ jobs:
535535
key: test-${{ matrix.os }}-${{ env.CACHE_SUFFIX }}
536536
workspaces: |
537537
. -> target
538-
xtask -> xtask/target
539538
540539
- name: (Windows) Install DXC
541540
if: matrix.os == 'windows-2022'
@@ -751,8 +750,6 @@ jobs:
751750
- name: Run `cargo fmt`
752751
run: |
753752
cargo fmt -- --check
754-
cargo fmt --manifest-path xtask/Cargo.toml -- --check
755-
cargo fmt --manifest-path naga/xtask/Cargo.toml -- --check
756753
757754
- name: Install Taplo
758755
uses: uncenter/setup-taplo@v1

.github/workflows/shaders.yml

-9
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ jobs:
4242
EOF
4343
4444
- uses: Swatinem/rust-cache@v2
45-
with:
46-
workspaces: |
47-
naga/xtask -> naga/xtask/target
4845

4946
# We must have the FXC job before the DXC job, so the DXC PATH has priority
5047
# over the FXC PATH. This is because the windows kits also include an older
@@ -97,9 +94,6 @@ jobs:
9794
EOF
9895
9996
- uses: Swatinem/rust-cache@v2
100-
with:
101-
workspaces: |
102-
naga/xtask -> naga/xtask/target
10397

10498
- run: |
10599
cd naga
@@ -139,9 +133,6 @@ jobs:
139133
EOF
140134
141135
- uses: Swatinem/rust-cache@v2
142-
with:
143-
workspaces: |
144-
naga/xtask -> naga/xtask/target
145136

146137
- run: cd naga; cargo xtask validate spv
147138

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
target/
1212
# Include the root lockfile but not the others
1313
*/Cargo.lock
14-
!xtask/Cargo.lock
1514

1615
# These are backup files generated by rustfmt
1716
**/*.rs.bk

0 commit comments

Comments
 (0)