Skip to content

Commit efc63dc

Browse files
authored
Merge pull request #20 from bytecodealliance/cfallin/weval-034
Release weval v0.3.4.
2 parents 83ad01b + adbce64 commit efc63dc

File tree

7 files changed

+6
-46
lines changed

7 files changed

+6
-46
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,3 @@ jobs:
5151
run: make -C tests/simple run-base
5252
- name: Build and run wevaled 'simple' test
5353
run: make -C tests/simple run-wevaled
54-
55-
test-js:
56-
runs-on: ubuntu-latest
57-
steps:
58-
- uses: actions/checkout@v4
59-
- uses: actions/setup-node@v4
60-
with:
61-
node-version: latest
62-
- run: npm install
63-
working-directory: npm/weval
64-
- run: npm test
65-
working-directory: npm/weval

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "weval"
33
description = "The WebAssembly partial evaluator"
44
repository = "https://github.com/bytecodealliance/weval"
5-
version = "0.3.3"
5+
version = "0.3.4"
66
authors = ["Chris Fallin <[email protected]>"]
77
license = "Apache-2.0 WITH LLVM-exception"
88
edition = "2021"

npm/weval/index.js

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,9 @@ import xz from "@napi-rs/lzma/xz";
1212

1313
const __dirname = dirname(fileURLToPath(import.meta.url));
1414

15-
const TAG = "v0.3.3";
15+
const TAG = "v0.3.4";
1616

17-
/**
18-
* Download Weval from GitHub releases
19-
*
20-
* @param {object} [opts]
21-
* @param {string} [opts.downloadDir] - Directory to which the binary should be downloaded
22-
* @returns {string} path to the downloaded binary on disk
23-
*/
24-
export async function getWeval(opts) {
17+
async function getWeval() {
2518
const knownPlatforms = {
2619
"win32 x64 LE": "x86_64-windows",
2720
"darwin arm64 LE": "aarch64-macos",
@@ -45,7 +38,7 @@ export async function getWeval(opts) {
4538
const assetSuffix = platform == "win32" ? "zip" : "tar.xz";
4639
const exeSuffix = platform == "win32" ? ".exe" : "";
4740

48-
const exeDir = join(opts && opts.downloadDir ? opts.downloadDir : __dirname, platformName);
41+
const exeDir = join(__dirname, platformName);
4942
const exe = join(exeDir, `weval${exeSuffix}`);
5043

5144
// If we already have the executable installed, then return it

npm/weval/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"name": "@bytecodealliance/weval",
3-
"version": "0.3.3",
3+
"version": "0.3.4",
44
"description": "The WebAssembly partial evaluator",
55
"type": "module",
66
"scripts": {
7-
"test": "node ./tests/index.mjs",
87
"version": "node ./update.js $npm_package_version"
98
},
109
"dependencies": {

npm/weval/tests/download.mjs

Lines changed: 0 additions & 17 deletions
This file was deleted.

npm/weval/tests/index.mjs

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)