Skip to content

Fix the tests of the C runtime with Cargo 1.100, and the vectors check - #21

Merged
xadaemon merged 1 commit into
trunkfrom
fix-ci-rust-1.100
Nov 16, 2026
Merged

xadaemon merged 1 commit into
trunkfrom
fix-ci-rust-1.100

Conversation

@xadaemon

Copy link
Copy Markdown
Member

The Rust workflow fails on trunk since the 2.0.0-rc8 commit, in test-rust, runtime-c and vectors-are-current.

  • packages/asnkitrt-c/tests/c.rs looked for the shared library next to the test. Cargo 1.100 gives each crate a folder of its own, so the linker did not find -lasnkitrt_c. The test now asks Cargo where the library is. It passes with Rust 1.100.0 and 1.88.0.
  • tests/test_robust.py loads copies of an .asni file with a bit changed, and record.py wrote each one that loads as a specification, 214 files that are in no vector. It now removes a specification that no vector names. vectors.jsonl.gz is the same, and a1607596889b181a.asni, which no vector named, is removed.

All the jobs of the Rust, Python package, X.509 interoperability and Documentation workflows were run on Linux with this change, but the JVM build and the tests of the WebAssembly packages.

…specifications of vectors

Cargo 1.100 gives each crate a folder of its own, so the shared library
is no longer next to the test that links C with it. The test asks Cargo
where it is.

tests/test_robust.py loads copies of an .asni file with a bit changed,
and those that load were each recorded as a specification. record.py
now removes a specification that no vector names.

Signed-off-by: Matheus Xavier <mxavier@boxtheta.com>
@xadaemon
xadaemon merged commit eb6018c into trunk Nov 16, 2026
22 checks passed
@xadaemon
xadaemon deleted the fix-ci-rust-1.100 branch November 16, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant