Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
18 changes: 11 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,17 @@ Versioning: [SemVer 2.0](https://semver.org/spec/v2.0.0.html).
trick — so `use scry_interval` and the Bazel target paths are unchanged.
Internal path deps now carry `version` so `cargo publish` rewrites them to the
crates.io coordinate.
- **Wasm-component crates** (`wasm-lattice`, `scry-analyzer`) are being migrated
to the `scry-sai-*` namespace + self-contained `wit_bindgen::generate!`
bindings so they build and publish under plain `cargo` as well as Bazel — in a
follow-up PR (it touches the `//:scry` composition and needs full CI
re-validation). Until then they remain `publish = false` and ship as signed
`.wasm` release assets. The `scry-host-tests` and `scry-mcdc` harnesses remain
unpublished.
- **Wasm-component crates renamed** into the namespace: `wasm-lattice` →
`scry-sai-lattice`, `scry-analyzer` → `scry-sai-analyzer` (`[package] name`
only — `[lib] name`, directories, and Bazel targets unchanged). They remain
`publish = false` and ship as signed `.wasm` release assets: they are `cdylib`
Wasm components built from Bazel-generated WIT bindings, so a host
`cargo publish` cannot build them and a `cargo add` consumer cannot use a
cdylib component (the witness precedent — publish the libraries, ship the
component). Making them genuine crates.io libraries would require a
`wit_bindgen::generate!` binding refactor that touches the shipped `//:scry`
composition for no consumer benefit; deferred. The `scry-host-tests` and
`scry-mcdc` harnesses remain unpublished.

### Changed

Expand Down
32 changes: 16 additions & 16 deletions Cargo.lock

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

3 changes: 2 additions & 1 deletion crates/scry-analyzer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "scry-analyzer"
name = "scry-sai-analyzer"
description = "scry interval-domain abstract interpreter as a Wasm component."
version.workspace = true
edition.workspace = true
Expand All @@ -15,6 +15,7 @@ authors.workspace = true
publish = false

[lib]
name = "scry_analyzer"
crate-type = ["cdylib"]

[dependencies]
Expand Down
3 changes: 2 additions & 1 deletion crates/wasm-lattice/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "wasm-lattice"
name = "scry-sai-lattice"
description = "Interval-domain abstract-domain library as a Wasm component."
version.workspace = true
edition.workspace = true
Expand All @@ -16,6 +16,7 @@ authors.workspace = true
publish = false

[lib]
name = "wasm_lattice"
crate-type = ["cdylib"]

[dependencies]
Expand Down
Loading