Skip to content

Commit 1a518f2

Browse files
authored
Merge pull request #48 from mozilla-spidermonkey/next-beta
Switch back to building mozilla-beta in 'next' branch
2 parents b80c70c + e8635ea commit 1a518f2

6 files changed

Lines changed: 13 additions & 36 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ jobs:
2828
- uses: actions/checkout@v2
2929
- name: Install deps
3030
run: |
31-
sudo apt install autoconf2.13 ccache llvm clang lld meson ninja-build -y
31+
sudo apt install ccache llvm clang lld meson ninja-build -y
3232
- uses: actions-rs/toolchain@v1
3333
with:
3434
profile: minimal
3535
toolchain: stable
3636
override: true
3737
default: true
3838
- name: Get SM pkg
39-
run: ./tools/get_sm_102.sh
39+
run: ./tools/get_sm.sh
4040
- name: ccache cache files
4141
uses: actions/cache@v1.1.0
4242
with:
@@ -49,7 +49,6 @@ jobs:
4949
cd /tmp/mozjs
5050
cd $(ls -d */|head -n 1)
5151
cd js/src
52-
autoconf2.13
5352
bash $GITHUB_WORKSPACE/tools/generic_lib.sh $GITHUB_WORKSPACE/meson.build
5453
mkdir _build
5554
cd _build

docs/Migration Guide.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
This document describes how to port your code from using one ESR version
44
of SpiderMonkey to the next ESR version.
55

6+
## ESR 102 to ESR 115 ##
7+
8+
### Various API changes ###
9+
10+
This is a non-exhaustive list of minor API changes and renames.
11+
12+
- `JS::ModuleInstantiate``JS::ModuleLink`
13+
614
## ESR 91 to ESR 102 ##
715

816
### Object private pointers ###

examples/modules.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ static bool ModuleExample(JSContext* cx) {
106106
}
107107

108108
// Resolve imports by loading and compiling additional scripts.
109-
if (!JS::ModuleInstantiate(cx, mod)) {
109+
if (!JS::ModuleLink(cx, mod)) {
110110
boilerplate::ReportAndClearException(cx);
111111
return false;
112112
}

tools/generic_lib.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22
# Make SpiderMonkey and this repo generic instead of version specific.
3-
# script shoud be run in mozjs dit with $1 for mason.build location
3+
# script shoud be run in mozjs dir with $1 for meson.build location
44
sed -i 's/mozjs-$MOZILLA_SYMBOLVERSION/mozjs/g' old-configure.in
5-
sed -i --regexp-extended "s/dependency\(.mozjs.*$/dependency('mozjs')/gm" "$1"
5+
sed -i --regexp-extended "s/dependency\(.mozjs.*$/dependency('mozjs')/gm" "$1"

tools/get_sm_102.sh

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

tools/get_sm_91.sh

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

0 commit comments

Comments
 (0)