-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
44 lines (41 loc) · 1.94 KB
/
Copy pathCargo.toml
File metadata and controls
44 lines (41 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[workspace]
members = [
"rust/core",
"rust/guest",
"rust/wasmtime",
"rust/guest-provider",
"examples/crypto-demo",
"examples/demo-driver",
"examples/wasmtime-demo",
"conformance/harness",
"conformance/guest-ct",
"conformance/driver-ct",
"conformance/signing-guest-ct",
"timing-lab",
]
resolver = "2"
# The polymorph:test stack: the crates pinned by git rev, the JS runner
# core from JSR (@jsr/polymorph__test, npm.jsr.io per-tree .npmrc). Both sides of a bump
# name ONE polymorph-test release: `component-test pins bump <rev>
# --cargo-toml Cargo.toml --workflow .github/workflows/ci.yml` with the
# release-tag commit, `cargo update -p component-test-sdk -p
# component-test-runner`, then set the matching release version on every
# `@jsr/polymorph__test` dependency (conformance/driver-ct/{jco,
# polyengine}, examples/jco-demo, js/jco, js/componentize/wpt/parity) and
# `npm install` in each — the cargo pins gate, the runner-js pin gate,
# and the CI ref guard fail on skew; the CI tools cache and the
# ct/ct-runner binaries key off the locked rev. To develop against a
# local checkout, add a `[patch]` override — see AGENTS.md "Build & run".
[workspace.dependencies]
component-test-sdk = { git = "https://github.com/polymorph-components/polymorph-test", rev = "9f9e4d544b90e3321ac0572be92c57339b963d34" }
component-test-runner = { git = "https://github.com/polymorph-components/polymorph-test", rev = "9f9e4d544b90e3321ac0572be92c57339b963d34" }
# The mutation run's profile (`just mutants`): dependencies optimized —
# wasmtime and the RustCrypto cores are compiled once, at baseline, and make
# the conformance-oracle runs near release speed — while workspace members
# stay unoptimized, so the per-mutant rebuild of the mutated crate and its
# dependents stays cheap. (`package."*"` matches dependencies only, not
# workspace members.)
[profile.mutants]
inherits = "dev"
[profile.mutants.package."*"]
opt-level = 2