Skip to content

Releases: servo/mozjs

mozjs-sys-v0.140.10-2: Fix build with crown feature enabled. (#738)

25 Apr 22:47
f94a9b5

Choose a tag to compare

Per #737 this doesn't get detected in either this repository's CI or
Servo's CI. `Heap<T>` is marked `must_root`, and method that return a
`Heap<T>` need to suppress that warning.

Testing: Servo build succeeded with MOZJS_FROM_SOURCE=1, `--use-crown`,
and a local Cargo override.

---------

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

mozjs-sys-v0.140.10-1

25 Apr 06:57
eb6073f

Choose a tag to compare

jsglue: add a method to retrieve ErrorInfo from the pending exception…

mozjs-sys-v0.140.10-0: Security bump SpiderMonkey to 140.10 (#743)

24 Apr 19:00
2dd4fda

Choose a tag to compare

Bump SpiderMonkey to 140.10 (changeset:
[a1c8c4081ea0e227dbde64c95ec6942fa71edb28](https://github.com/servo/mozjs/releases/download/mozjs-source-a1c8c4081ea0e227dbde64c95ec6942fa71edb28))

Rebase of #740

---------

Signed-off-by: servo-bot <ghbot+mozjs-sm-bump@servo.org>
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Co-authored-by: servo-bot <ghbot+mozjs-sm-bump@servo.org>

mozjs-sys-v0.140.8-4: build: Workaround make jobserver bug (#735)

22 Apr 19:51
5a4cb33

Choose a tag to compare

This works around the following bug, where the invocation below fails
with the pipe style and works fine with the new fifo jobserver. Since
there is no sign of cargo going to support fifo jobservers, and single
threaded compilation is horribly slow, we don't pass makeflags on, when
using make 4.4. We use a crude version check, which checks the presence
of the flag - since new make versions are rare, this should be fine for
a while.
If we detect the flag (i.e. make 4.4 or newer), we pass `-j <NUM_JOBS>`
to make instead of inheriting MAKEFLAGS and the jobserver from cargo.
This means we get an upper bound of 2x NUM_JOBS jobs, since the cargo
jobserver and makes jobserver coexist.
We can remove this workaround once cargo [supports fifo style
jobservers](https://github.com/rust-lang/cargo/issues/13483).

Minimum reproducer:

`gmake -j2 --jobserver-style=pipe -f Makefile`

Makefile:
```make
define RECURSE
+$(MAKE) -f sub.mk
endef

all:
	$(RECURSE)
```

sub.mk:

```
all:
	@:
```

Output: `gmake[1]: warning: jobserver unavailable: using -j1. Add '+' to
parent make rule.`

Testing: This is specific to make 4.4, and hence not covered by
automated tests
Fixes: #375 
Servo PR: https://github.com/servo/servo/pull/44346

---------

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

SpiderMonkey FIREFOX_140_10_0esr_RELEASE

22 Apr 04:32
38eb3fc

Choose a tag to compare

Source code for SpiderMonkey FIREFOX_140_10_0esr_RELEASE (changeset: a1c8c4081ea0e227dbde64c95ec6942fa71edb28)

mozjs-sys-v0.140.8-3: mozjs-sys: Build from source if the jitspew feature is enabled (#728)

08 Apr 07:39
b50a0f6

Choose a tag to compare

Otherwise the `IONFLAGS` environment variable does nothing.

Testing: We don't have tests for the build process
Servo companion PR: https://github.com/servo/servo/pull/44010

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

SpiderMonkey FIREFOX_140_9_1esr_RELEASE

08 Apr 04:23
674c5f0

Choose a tag to compare

Source code for SpiderMonkey FIREFOX_140_9_1esr_RELEASE (changeset: cca515379f569261e903f6e84dcdb0ecdbbe821e)

mozjs-sys-v0.140.8-2: build: Default MOZBUILD_STATE to the target dir (#725)

24 Mar 13:11
97f035f

Choose a tag to compare

This moves the mozbuild artifacts from `~/.mozbuild` to inside the cargo
target directory, which means they will be properly cleaned up by `cargo
clean`.

Testing: Covered by `cargo build` still working.
Fixes: #724

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

mozjs-sys-v0.140.8-1: Remove redundant return statement in `ForwardingProxyHandler`. (#717)

10 Mar 08:28
7ec3a75

Choose a tag to compare

Testing: Not tested. It is a straightforward change.

---------

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>

mozjs-sys-v0.140.8-0: Security bump SpiderMonkey to 140.8 (#716)

09 Mar 21:18
7c5fdeb

Choose a tag to compare

Bump SpiderMonkey to 140.8 (changeset:
[b23aff4bbac16e44f2a9d3127c18616acfef6166](https://github.com/servo/mozjs/releases/download/mozjs-source-b23aff4bbac16e44f2a9d3127c18616acfef6166))

---------

Signed-off-by: servo-bot <ghbot+mozjs-sm-bump@servo.org>
Co-authored-by: servo-bot <ghbot+mozjs-sm-bump@servo.org>