Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
78ca2e7
target-spec: remove crate rustc_codegen_spirv-target-specs
Firestar99 Dec 11, 2025
63b9e3c
target-spec: generate target specs on the fly in `spirv-builder`
Firestar99 Dec 11, 2025
4f318d6
target-spec: move `query_rustc_version` to `*spirv-types`
Firestar99 Dec 11, 2025
fe13fb8
target-spec: add `SpirvTarget` type
Firestar99 Dec 11, 2025
52748a7
target-spec compiletest: adjust to new target spec
Firestar99 Dec 11, 2025
22cdefd
target-spec compiletest: copy dylib loading from spirv-builder
Firestar99 Dec 11, 2025
8f197be
target-spec: add support for rust-gpu before rustc 1.85
Firestar99 Dec 15, 2025
823b0c2
target-spec: don't validate target env in spirv-builder
Firestar99 Dec 15, 2025
56a46c3
build_script: replace `enum MetadataPrintout` with `struct BuildScrip…
Firestar99 Dec 15, 2025
8b83d58
build_script: add forwarding of rustc warnings, with color support
Firestar99 Dec 15, 2025
2c620bd
target-spec: accept both targets and target envs as valid targets
Firestar99 Dec 16, 2025
a64583d
spirv-builder: clap testing
Firestar99 Jul 1, 2025
b55dcab
Merge branch 'fwd_warnings' into no_artifacts
Firestar99 Dec 22, 2025
86d74b6
spirv-builder: when no artifact is produced, error instead of panic
Firestar99 Dec 22, 2025
5aad49d
Merge branch 'no_artifacts' into spirv_builder_cleanup
Firestar99 Dec 22, 2025
1ac317b
spirv-builder: move metadata file parsing to `invoke_rustc`
Firestar99 Dec 22, 2025
cb0ea9e
spirv-builder: cleanup `build_script.env_shader_spv_path` implementation
Firestar99 Dec 22, 2025
b09b3c5
spirv-builder: make `invoke_rustc` take `SpirvBuilder` as `&self`
Firestar99 Dec 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
run: cargo test -p rustc_codegen_spirv --release --no-default-features --features "use-installed-tools"

- name: workspace test (excluding examples & difftest)
run: cargo test --release --workspace --exclude "example-runner-*" --exclude "difftest*" --no-default-features --features "use-installed-tools"
run: cargo test --release --workspace --exclude "example-runner-*" --exclude "difftest*" --no-default-features --features "use-installed-tools,clap"

# Examples
- name: cargo check examples
Expand Down
10 changes: 3 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ members = [

"crates/rustc_codegen_spirv",
"crates/rustc_codegen_spirv-types",
"crates/rustc_codegen_spirv-target-specs",
"crates/spirv-builder",
"crates/spirv-std",
"crates/spirv-std/shared",
Expand Down Expand Up @@ -50,7 +49,6 @@ spirv-std-macros = { path = "./crates/spirv-std/macros", version = "=0.9.0" }
spirv-tools = { version = "0.13.0", default-features = false }
rustc_codegen_spirv = { path = "./crates/rustc_codegen_spirv", version = "=0.9.0", default-features = false }
rustc_codegen_spirv-types = { path = "./crates/rustc_codegen_spirv-types", version = "=0.9.0" }
rustc_codegen_spirv-target-specs = { path = "crates/rustc_codegen_spirv-target-specs", version = "=0.9.0" }

# difftest libraries mirrored from difftest workspace
difftest = { path = "tests/difftests/lib" }
Expand Down
12 changes: 0 additions & 12 deletions crates/rustc_codegen_spirv-target-specs/Cargo.toml

This file was deleted.

7 changes: 0 additions & 7 deletions crates/rustc_codegen_spirv-target-specs/README.md

This file was deleted.

75 changes: 0 additions & 75 deletions crates/rustc_codegen_spirv-target-specs/src/include_str.rs

This file was deleted.

10 changes: 0 additions & 10 deletions crates/rustc_codegen_spirv-target-specs/src/lib.rs

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading