Skip to content

Commit

Permalink
Merge branch 'staging'
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivanshVij committed Oct 5, 2023
2 parents fd00187 + b797dc2 commit f0e62dc
Show file tree
Hide file tree
Showing 51 changed files with 98 additions and 56 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [v0.4.3] - 2023-08-04

### Changes

- Scale Signatures for rust guests now properly use borrow/ownership semantics

### Fixes

- The NPM package for `scale` now has a proper `index.js` file so it can be imported

## [v0.4.2] - 2023-09-27

### Fixes
Expand Down Expand Up @@ -261,7 +271,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

- Initial release of the Scale Runtime library.

[unreleased]: https://github.com/loopholelabs/scale/compare/v0.4.2...HEAD
[unreleased]: https://github.com/loopholelabs/scale/compare/v0.4.3...HEAD
[v0.4.3]: https://github.com/loopholelabs/scale/compare/v0.4.3
[v0.4.2]: https://github.com/loopholelabs/scale/compare/v0.4.2
[v0.4.1]: https://github.com/loopholelabs/scale/compare/v0.4.1
[v0.4.0]: https://github.com/loopholelabs/scale/compare/v0.4.0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "scale_rs"
version = "0.4.2"
version = "0.4.3"
edition = "2021"
description = "Scale is a framework for building high-performance plugin systems into any application, all powered by WebAssembly."
homepage = "https://scale.sh"
Expand Down
2 changes: 1 addition & 1 deletion compile/rust/templates/lib.rs.templ
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub unsafe extern "C" fn run() -> u64 {
let (ptr, len) = match signature::read() {
Ok(opt) => {
let output_opt = match opt {
Some(mut input) => { {{ .package_schema.Name }}::{{ .package_schema.Function }}(Some(&mut input)) },
Some(input) => { {{ .package_schema.Name }}::{{ .package_schema.Function }}(Some(input)) },
None => { {{ .package_schema.Name }}::{{ .package_schema.Function }}(None) }
};
match output_opt {
Expand Down
2 changes: 1 addition & 1 deletion compile/typescript/builder/interpreter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ path = "main.rs"
scale_signature_interfaces = "0.1.7"
quickjs-wasm-sys = "1.1.0"
once_cell = "1.4.0"
polyglot_rs = "1.1.2"
polyglot_rs = "1.1.3"
anyhow = "1.0.75"
flate2 = { version = "1.0.25", optional = true}

Expand Down
Loading

0 comments on commit f0e62dc

Please sign in to comment.