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
22 changes: 14 additions & 8 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ scripts/codegen.sh Regenerate the TS client from the Rust source
scripts/battery.sh Run the generated battery against both headless CLI host roles
```

The PolkaVM application runtime, GPU wire contract, browser workers, and
The PolkaVM application runtime, GPU/UI wire contracts, browser workers, and
reproducible browser assets live in
[`paritytech/pvm-host-runtime`](https://github.com/paritytech/pvm-host-runtime).
Hosts integrate through `truapi-pvm-host`, which pins one reviewed runtime
Expand Down
1 change: 1 addition & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ exceptions = [
# so their Rust and browser implementations retain file-level copyleft.
{ name = "pvm-gpu-wire", allow = ["MPL-2.0"] },
{ name = "pvm-motion-wire", allow = ["MPL-2.0"] },
{ name = "pvm-ui-wire", allow = ["MPL-2.0"] },
{ name = "pvm-runtime", allow = ["MPL-2.0"] },
{ name = "pvm-runtime-assets", allow = ["MPL-2.0"] },
{ name = "uniffi", allow = ["MPL-2.0"] },
Expand Down
88 changes: 88 additions & 0 deletions ios/truapi-host/Sources/TrUAPIHost/pvm_runtime.swift

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

11 changes: 11 additions & 0 deletions ios/truapi-host/Sources/pvm_runtimeFFI/include/pvm_runtimeFFI.h

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

4 changes: 2 additions & 2 deletions rust/crates/truapi-pvm-host/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ browser-assets = ["dep:pvm-runtime-assets"]
native-gpu = ["pvm-runtime/native-gpu"]

[dependencies]
pvm-runtime = { git = "https://github.com/paritytech/pvm-host-runtime.git", rev = "530885a9d6dbf5a2742d4f2ff9f5c71b05f2a762" }
pvm-runtime-assets = { git = "https://github.com/paritytech/pvm-host-runtime.git", rev = "530885a9d6dbf5a2742d4f2ff9f5c71b05f2a762", optional = true }
pvm-runtime = { git = "https://github.com/paritytech/pvm-host-runtime.git", rev = "5d7b86b46842a31c6ca8de2d23c2c7926b12f14e" }
pvm-runtime-assets = { git = "https://github.com/paritytech/pvm-host-runtime.git", rev = "5d7b86b46842a31c6ca8de2d23c2c7926b12f14e", optional = true }

[lints]
workspace = true
Expand Down
4 changes: 2 additions & 2 deletions rust/crates/truapi-pvm-host/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub use pvm_runtime::*;
pub use pvm_runtime_assets::{BrowserAsset, RUNTIME_VERSION, browser_assets};

/// Immutable standalone runtime source consumed by this bridge release.
pub const RUNTIME_SOURCE_REVISION: &str = "530885a9d6dbf5a2742d4f2ff9f5c71b05f2a762";
pub const RUNTIME_SOURCE_REVISION: &str = "5d7b86b46842a31c6ca8de2d23c2c7926b12f14e";

#[cfg(test)]
mod tests {
Expand All @@ -29,7 +29,7 @@ mod tests {
#[cfg(feature = "browser-assets")]
#[test]
fn browser_assets_are_complete_and_source_identified() {
assert_eq!(RUNTIME_VERSION, "0.1.8");
assert_eq!(RUNTIME_VERSION, "0.1.10");
assert_eq!(browser_assets().len(), 7);
assert!(
browser_assets()
Expand Down