Skip to content

Commit 925a943

Browse files
committed
Update 'warg' references to OCI and 'wkg' references
1 parent 91a165e commit 925a943

2 files changed

Lines changed: 11 additions & 9 deletions

File tree

design/mvp/Explainer.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2648,7 +2648,8 @@ and `b` to a component `c` and `/d/e/f` traverses the exports of `c` (where `d`
26482648
and `e` must be component exports but `f` can be anything). Given this abstract
26492649
definition, a number of concrete data sources can be interpreted by developer
26502650
tooling as "registries":
2651-
* a live registry (perhaps accessed via [`warg`])
2651+
* a live registry (perhaps accessed via [`wkg`] and the [WebAssembly OCI
2652+
Artifact Layout])
26522653
* a local filesystem directory (perhaps containing vendored dependencies)
26532654
* a fixed set of host-provided functionality (see also the [built-in modules] proposal)
26542655
* a programmatically-created tree data structure (such as the `importObject`
@@ -3321,9 +3322,10 @@ For some use-case-focused, worked examples, see:
33213322

33223323
[Component Model Documentation]: https://component-model.bytecodealliance.org
33233324
[`wizer`]: https://github.com/bytecodealliance/wizer
3324-
[`warg`]: https://warg.io
3325+
[`wkg`]: https://github.com/bytecodealliance/wasm-pkg-tools
33253326
[SemVerRange]: https://semver.npmjs.com/
33263327
[OCI Registry]: https://github.com/opencontainers/distribution-spec
3328+
[WebAssembly OCI Artifact Layout]: https://tag-runtime.cncf.io/wgs/wasm/deliverables/wasm-oci-artifact/
33273329

33283330
[Scoping and Layering]: https://docs.google.com/presentation/d/1PSC3Q5oFsJEaYyV5lNJvVgh-SNxhySWUqZ6puyojMi8
33293331

design/mvp/Linking.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,13 @@ either store child modules or components **inline** or to **import** them from
9090
an external registry. This registry toolchain integration is still in progress,
9191
but by reusing common support libraries such as [`wasm-pkg-tools`], higher-level
9292
tooling can uniformly interact with multiple kinds of storage backends such as
93-
local directories, [OCI Wasm Artifacts] stored in standard [OCI Registries] and
94-
[warg registries]. Of note, even when modules or components are stored inline
95-
by earlier stages of the build pipeline, when creating an OCI Wasm Artifact, a
96-
toolchain can (hypothetically, existing tools don't do this yet) enable
97-
deduplication by content-hash of common modules or components by placing them
98-
in separate OCI [`layers`] which are imported via [`hashname`] by the root
99-
component stored in the first layer of the OCI Wasm Artifact.
93+
local directories, [OCI Wasm Artifacts] stored in standard [OCI Registries]. Of
94+
note, even when modules or components are stored inline by earlier stages of the
95+
build pipeline, when creating an OCI Wasm Artifact, a toolchain can
96+
(hypothetically, existing tools don't do this yet) enable deduplication by
97+
content-hash of common modules or components by placing them in separate OCI
98+
[`layers`] which are imported via [`hashname`] by the root component stored in
99+
the first layer of the OCI Wasm Artifact.
100100

101101

102102
## Fully-runtime dynamic linking

0 commit comments

Comments
 (0)