Skip to content

Commit 59a7c02

Browse files
jedel1043hansltheoparis
authored
Backport 0.19 fixes (#3989)
* Implement new spec changes for `AsyncGenerator` (#3950) * Implement new spec changes for `AsyncGenerator` * Add panic docs * Add spec edition 15 to the tester (#3957) * Allow dead code for code that is newly detected as unused (#3984) * Allow dead code for code that is newly detected as unused * Fix compile errors with nightly rust * Add missing SAFETY section * Increase safety of `FutexWaiters` --------- Co-authored-by: Theo Paris <[email protected]> Co-authored-by: José Julián Espina <[email protected]> * Enable CI for release branches (#3987) * Allow warnings when running CI on release branches (#3990) * Bump crates version --------- Co-authored-by: Hans Larsen <[email protected]> Co-authored-by: Theo Paris <[email protected]>
1 parent 532c008 commit 59a7c02

File tree

18 files changed

+480
-387
lines changed

18 files changed

+480
-387
lines changed

.github/workflows/pull_request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
branches:
66
- main
7+
- releases/**
78

89
jobs:
910
runBenchmark:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
timeout-minutes: 60
1111
env:
12-
RUSTFLAGS: -D warnings
12+
RUSTFLAGS: ${{ github.ref == 'refs/heads/main' && '-D warnings' || '' }}
1313
steps:
1414
- name: Checkout repository
1515
uses: actions/checkout@v4

.github/workflows/rust.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,23 @@ on:
44
pull_request:
55
branches:
66
- main
7+
- releases/**
78
push:
89
branches:
910
- main
11+
- releases/**
1012
merge_group:
1113
types: [checks_requested]
1214

1315
env:
14-
RUSTFLAGS: -Dwarnings
16+
RUSTFLAGS: ${{ github.ref == 'refs/heads/main' && '-D warnings' || '' }}
1517

1618
jobs:
1719
coverage:
1820
name: Coverage
1921
runs-on: ubuntu-latest
2022
timeout-minutes: 60
23+
if: github.ref == 'refs/heads/main'
2124
steps:
2225
- name: Checkout repository
2326
uses: actions/checkout@v4
@@ -149,7 +152,7 @@ jobs:
149152
runs-on: ubuntu-latest
150153
timeout-minutes: 60
151154
env:
152-
RUSTDOCFLAGS: -D warnings
155+
RUSTDOCFLAGS: ${{ github.ref == 'refs/heads/main' && '-D warnings' || '' }}
153156
steps:
154157
- name: Checkout repository
155158
uses: actions/checkout@v4

.github/workflows/test262.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
pull_request:
44
branches:
55
- main
6+
- releases/**
67
merge_group:
78
types: [checks_requested]
89

.github/workflows/webassembly.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ on:
22
pull_request:
33
branches:
44
- main
5+
- releases/**
56
push:
67
branches:
78
- main
9+
- releases/**
810
merge_group:
911
types: [checks_requested]
1012

@@ -27,7 +29,7 @@ jobs:
2729
timeout-minutes: 60
2830
env:
2931
WASM_PACK_PATH: ~/.cargo/bin/wasm-pack
30-
RUSTFLAGS: -D warnings
32+
RUSTFLAGS: ${{ github.ref == 'refs/heads/main' && '-Dwarnings' || '' }}
3133
steps:
3234
- name: Checkout repository
3335
uses: actions/checkout@v4

Cargo.lock

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ exclude = [
2828

2929
[workspace.package]
3030
edition = "2021"
31-
version = "0.19.0"
31+
version = "0.19.1"
3232
rust-version = "1.79.0"
3333
authors = ["boa-dev"]
3434
repository = "https://github.com/boa-dev/boa"
@@ -38,17 +38,17 @@ description = "Boa is a Javascript lexer, parser and compiler written in Rust. C
3838
[workspace.dependencies]
3939

4040
# Repo Crates
41-
boa_ast = { version = "~0.19.0", path = "core/ast" }
42-
boa_engine = { version = "~0.19.0", path = "core/engine" }
43-
boa_gc = { version = "~0.19.0", path = "core/gc" }
44-
boa_icu_provider = { version = "~0.19.0", path = "core/icu_provider" }
45-
boa_interner = { version = "~0.19.0", path = "core/interner" }
46-
boa_interop = { version = "~0.19.0", path = "core/interop" }
47-
boa_macros = { version = "~0.19.0", path = "core/macros" }
48-
boa_parser = { version = "~0.19.0", path = "core/parser" }
49-
boa_profiler = { version = "~0.19.0", path = "core/profiler" }
50-
boa_runtime = { version = "~0.19.0", path = "core/runtime" }
51-
boa_string = { version = "~0.19.0", path = "core/string" }
41+
boa_ast = { version = "~0.19.1", path = "core/ast" }
42+
boa_engine = { version = "~0.19.1", path = "core/engine" }
43+
boa_gc = { version = "~0.19.1", path = "core/gc" }
44+
boa_icu_provider = { version = "~0.19.1", path = "core/icu_provider" }
45+
boa_interner = { version = "~0.19.1", path = "core/interner" }
46+
boa_interop = { version = "~0.19.1", path = "core/interop" }
47+
boa_macros = { version = "~0.19.1", path = "core/macros" }
48+
boa_parser = { version = "~0.19.1", path = "core/parser" }
49+
boa_profiler = { version = "~0.19.1", path = "core/profiler" }
50+
boa_runtime = { version = "~0.19.1", path = "core/runtime" }
51+
boa_string = { version = "~0.19.1", path = "core/string" }
5252

5353
# Shared deps
5454
arbitrary = "1"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Add the below dependency to your `Cargo.toml`:
5555

5656
```toml
5757
[dependencies]
58-
boa_engine = "0.19.0"
58+
boa_engine = "0.19.1"
5959
```
6060

6161
Then in `main.rs`, copy the below:

0 commit comments

Comments
 (0)