Skip to content

Commit

Permalink
chore(release): 1.0.15 [skip ci]
Browse files Browse the repository at this point in the history
## [1.0.15](v1.0.14...v1.0.15) (2022-10-03)

### Bug Fixes

* add --incompatible to cargo upgrade ([#66](#66)) ([f66d6f1](f66d6f1))
  • Loading branch information
semantic-release-bot committed Oct 3, 2022
1 parent f66d6f1 commit 2313621
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion 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 Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "flowscripter_template_deno_rust_library"
version ="1.0.14"
version ="1.0.15"
edition = "2021"
description = "Project template for a Rust library with Deno FFI bindings."
homepage = "https://github.com/flowscripter"
Expand Down
7 changes: 5 additions & 2 deletions bindings/bindings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ function readPointer(v: any): Uint8Array {
return buf
}

const url = new URL("../target/debug", import.meta.url)
const url = new URL(
"https://github.com/flowscripter/template-deno-rust-library/releases/download/v1.0.15",
import.meta.url,
)
let uri = url.toString()
if (!uri.endsWith("/")) uri += "/"

Expand All @@ -43,7 +46,7 @@ const opts = {
windows: uri + "flowscripter_template_deno_rust_library.dll",
linux: uri + "libflowscripter_template_deno_rust_library.so",
},
policy: CachePolicy.NONE,
policy: undefined,
}
const _lib = await prepare(opts, {
add: { parameters: ["i32", "i32"], result: "i32", nonblocking: false },
Expand Down

0 comments on commit 2313621

Please sign in to comment.