Skip to content

Commit 96b7e66

Browse files
committed
Fix C++ linking error
1 parent 7ad953c commit 96b7e66

4 files changed

Lines changed: 13 additions & 22 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ jobs:
8585
- name: Clippy
8686
run: cargo clippy --target ${{ matrix.target }} --all-targets
8787

88+
- name: Build
89+
run: cargo build --target ${{ matrix.target }}
90+
8891
- name: Test
8992
if: ${{ matrix.test }}
9093
run: cargo nextest run --target ${{ matrix.target }}

Cargo.lock

Lines changed: 0 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@ license = "MIT OR Apache-2.0 OR Zlib"
1111
[workspace.lints]
1212

1313
[workspace.dependencies]
14-
ctt = { path = "crates/ctt" }
15-
ctt-intel-texture-compressor = { path = "crates/ctt-intel-texture-compressor" }
16-
thiserror = "2"
17-
ddsfile = "0.5"
18-
ktx2 = "0.4"
14+
ctt = { path = "crates/ctt", version = "0.1" }
15+
ctt-intel-texture-compressor = { path = "crates/ctt-intel-texture-compressor", version = "0.1" }
16+
17+
bytemuck = "1"
1918
clap = { version = "4", features = ["derive"] }
20-
image = "0.25"
19+
ddsfile = "0.5"
20+
fern = "0.7"
2121
half = "2"
22-
bytemuck = { version = "1", features = ["derive"] }
22+
image = "0.25"
23+
ktx2 = "0.4"
2324
log = "0.4"
24-
fern = "0.7"
25+
thiserror = "2"

crates/ctt-intel-texture-compressor/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,6 @@ fn main() {
4545
.include(&out_dir)
4646
.include("ispc")
4747
.file("ispc/ispc_texcomp_astc.cpp")
48+
.cpp(true)
4849
.compile("ispc_texcomp_astc");
4950
}

0 commit comments

Comments
 (0)