mini_racer_rs 1.1.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/COMPATIBILITY.md +2 -2
- data/Cargo.lock +5 -5
- data/Cargo.toml +1 -1
- data/README.md +3 -5
- data/THIRD_PARTY_NOTICES.md +200 -0
- data/ext/mini_racer_rs/extconf.rb +7 -2
- data/ext/mini_racer_rs/v8-archives.sha256 +4 -0
- data/lib/mini_racer_rs/version.rb +1 -1
- data/licenses/v8/SOURCES.tsv +1 -0
- data/licenses/v8/components.tsv +6 -2
- data/licenses/v8/musl/COPYRIGHT +193 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 11094220c1f6f76dd8a40c25b8ced649e6c6fa5297d2463eb9f6f1b1308d157c
|
|
4
|
+
data.tar.gz: bc299816d05331614b98d727ec43996bb714dab7a8ad36d553e1a81e55a10a35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a21607878aa930c6ee9a0281b48f21af7457ea6142672a2339937cf0c0098a7215e1a7f512e847351e39831d6642f786d125e9e9843d572c718cb1dc8a4f7926
|
|
7
|
+
data.tar.gz: b096d9cbc42855cc07bb30bb98c9a533b898da9ebc38e63f87c540412f67bcabe888fed71d70b44a700ae74fc31c4b6f0cb793980554c316eed4e1aa6ae5c494
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.2.0](https://github.com/andymai/mini_racer_rs/compare/v1.1.1...v1.2.0) (2026-10-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **platforms:** native gems and CI for musl Linux ([#117](https://github.com/andymai/mini_racer_rs/issues/117)) ([5b565f2](https://github.com/andymai/mini_racer_rs/commit/5b565f2e7e5f2ef5f502c2ddf7d38fcbdcd68e35))
|
|
9
|
+
|
|
3
10
|
## [1.1.1](https://github.com/andymai/mini_racer_rs/compare/v1.1.0...v1.1.1) (2026-10-21)
|
|
4
11
|
|
|
5
12
|
|
data/COMPATIBILITY.md
CHANGED
|
@@ -176,9 +176,9 @@ Approved 2026-10-16.
|
|
|
176
176
|
|
|
177
177
|
### `behavior:platforms@ruby`
|
|
178
178
|
|
|
179
|
-
mini_racer_rs
|
|
179
|
+
mini_racer_rs ships native gems for the platforms libv8-node publishes gems for, which mini_racer 0.22.1 uses: glibc and musl Linux on x86_64 and aarch64, and macOS on x86_64 and arm64. Neither supports Windows. On any other platform, mini_racer_rs's source gem stops installation with a message naming the supported platforms, while mini_racer can install libv8-node's source gem.
|
|
180
180
|
|
|
181
|
-
Approved 2026-10-
|
|
181
|
+
Approved 2026-10-22.
|
|
182
182
|
|
|
183
183
|
### `behavior:shared-source-heap-stats@ruby`
|
|
184
184
|
|
data/Cargo.lock
CHANGED
|
@@ -593,7 +593,7 @@ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
|
593
593
|
|
|
594
594
|
[[package]]
|
|
595
595
|
name = "mini_racer_engine"
|
|
596
|
-
version = "1.
|
|
596
|
+
version = "1.2.0"
|
|
597
597
|
dependencies = [
|
|
598
598
|
"deno_core_icudata",
|
|
599
599
|
"libc",
|
|
@@ -606,7 +606,7 @@ dependencies = [
|
|
|
606
606
|
|
|
607
607
|
[[package]]
|
|
608
608
|
name = "mini_racer_rs"
|
|
609
|
-
version = "1.
|
|
609
|
+
version = "1.2.0"
|
|
610
610
|
dependencies = [
|
|
611
611
|
"magnus",
|
|
612
612
|
"mini_racer_engine",
|
|
@@ -617,7 +617,7 @@ dependencies = [
|
|
|
617
617
|
|
|
618
618
|
[[package]]
|
|
619
619
|
name = "mini_racer_sourcemap"
|
|
620
|
-
version = "1.
|
|
620
|
+
version = "1.2.0"
|
|
621
621
|
dependencies = [
|
|
622
622
|
"memchr",
|
|
623
623
|
"serde",
|
|
@@ -627,7 +627,7 @@ dependencies = [
|
|
|
627
627
|
|
|
628
628
|
[[package]]
|
|
629
629
|
name = "mini_racer_sync"
|
|
630
|
-
version = "1.
|
|
630
|
+
version = "1.2.0"
|
|
631
631
|
dependencies = [
|
|
632
632
|
"loom",
|
|
633
633
|
"thiserror",
|
|
@@ -635,7 +635,7 @@ dependencies = [
|
|
|
635
635
|
|
|
636
636
|
[[package]]
|
|
637
637
|
name = "mini_racer_wire"
|
|
638
|
-
version = "1.
|
|
638
|
+
version = "1.2.0"
|
|
639
639
|
dependencies = [
|
|
640
640
|
"criterion",
|
|
641
641
|
"proptest",
|
data/Cargo.toml
CHANGED
|
@@ -15,7 +15,7 @@ license = "MIT"
|
|
|
15
15
|
publish = false
|
|
16
16
|
repository = "https://github.com/andymai/mini_racer_rs"
|
|
17
17
|
rust-version = "1.91"
|
|
18
|
-
version = "1.
|
|
18
|
+
version = "1.2.0"
|
|
19
19
|
|
|
20
20
|
[workspace.dependencies]
|
|
21
21
|
criterion = {version = "0.8", default-features = false, features = ["cargo_bench_support"]}
|
data/README.md
CHANGED
|
@@ -27,7 +27,7 @@ mini_racer_rs implements the `MiniRacer` API from mini_racer 0.22.1. It defines
|
|
|
27
27
|
- **Memory:** A context holding the MUI bundle uses 44 MB vs 110 MB.
|
|
28
28
|
- **Forks:** After loading and rendering React: 20 of 20 clean mini_racer_rs exits vs 20 of 20 mini_racer aborts.
|
|
29
29
|
- **V8:** V8 15.2.124.1 vs V8 13.6.233.17 in mini_racer 0.22.1.
|
|
30
|
-
- **No compiler:** Native gems cover glibc Linux and macOS, both architectures, with Ruby 3.3, 3.4 and 4.0 extensions.
|
|
30
|
+
- **No compiler:** Native gems cover glibc and musl Linux, including Alpine, and macOS, on both architectures, with Ruby 3.3, 3.4 and 4.0 extensions.
|
|
31
31
|
- **Fiber scheduler:** Three 100 ms loops in separate contexts and fibers finish in 100 ms vs 300 ms.
|
|
32
32
|
- **Upstream suites:** mini_racer passes 171 of 174 with 3 skipped by itself; ExecJS passes 197 of 198 with 1 skipped.
|
|
33
33
|
- **Difficult values:** A `Map` with a function key returns an error Hash instead of aborting with SIGABRT.
|
|
@@ -46,7 +46,7 @@ Switch packages with one Gemfile line:
|
|
|
46
46
|
|
|
47
47
|
Run `bundle install`. Bundler is required because RubyGems may activate the original `mini_racer` first. Loading both gems raises a `LoadError` naming the conflict. Reverse the Gemfile change to switch back.
|
|
48
48
|
|
|
49
|
-
On x86_64-linux-gnu, aarch64-linux-gnu, arm64-darwin, and x86_64-darwin, `bundle install` installs a native gem without compiling. Elsewhere, the source gem requires Rust 1.91 or newer and libclang to build the extension. For a checkout, follow [CONTRIBUTING.md](CONTRIBUTING.md) and run `bin/setup`.
|
|
49
|
+
On x86_64-linux-gnu, aarch64-linux-gnu, x86_64-linux-musl, aarch64-linux-musl, arm64-darwin, and x86_64-darwin, `bundle install` installs a native gem without compiling. Elsewhere, the source gem requires Rust 1.91 or newer and libclang to build the extension. For a checkout, follow [CONTRIBUTING.md](CONTRIBUTING.md) and run `bin/setup`.
|
|
50
50
|
|
|
51
51
|
## Quick start
|
|
52
52
|
|
|
@@ -148,8 +148,6 @@ See [COMPATIBILITY.md](COMPATIBILITY.md) for every difference.
|
|
|
148
148
|
|
|
149
149
|
### Stay on mini_racer if
|
|
150
150
|
|
|
151
|
-
- You deploy on musl-based Linux such as Alpine. mini_racer supports it through libv8-node's musl gems; mini_racer_rs does not. Neither supports Windows.
|
|
152
|
-
|
|
153
151
|
- Download size matters more than compile time. The largest native gem is 65.6 MB because it contains three Ruby extensions. mini_racer downloads 47.1 MB on x86_64 Linux, then compiles.
|
|
154
152
|
|
|
155
153
|
### Gems that depend on mini_racer
|
|
@@ -256,7 +254,7 @@ The release pipeline runs the full suites for every released extension.
|
|
|
256
254
|
|
|
257
255
|
mini_racer_rs does not:
|
|
258
256
|
|
|
259
|
-
- Run on Windows
|
|
257
|
+
- Run on Windows. It supports glibc and musl Linux, including Alpine, on x86_64 and aarch64, and macOS on arm64 and x86_64.
|
|
260
258
|
|
|
261
259
|
- Provide Node.js APIs. JavaScript runs in plain V8 without file system, network, or process access. It can reach only Ruby callables you `attach`.
|
|
262
260
|
|
data/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -4559,3 +4559,203 @@ https://chromium.googlesource.com/chromium/src/+/refs/tags/152.0.7977.89/LICENSE
|
|
|
4559
4559
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
4560
4560
|
```
|
|
4561
4561
|
|
|
4562
|
+
### musl
|
|
4563
|
+
|
|
4564
|
+
https://git.musl-libc.org/cgit/musl/plain/COPYRIGHT?h=v1.2.5
|
|
4565
|
+
|
|
4566
|
+
```text
|
|
4567
|
+
musl as a whole is licensed under the following standard MIT license:
|
|
4568
|
+
|
|
4569
|
+
----------------------------------------------------------------------
|
|
4570
|
+
Copyright © 2005-2020 Rich Felker, et al.
|
|
4571
|
+
|
|
4572
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
4573
|
+
a copy of this software and associated documentation files (the
|
|
4574
|
+
"Software"), to deal in the Software without restriction, including
|
|
4575
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
4576
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
4577
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
4578
|
+
the following conditions:
|
|
4579
|
+
|
|
4580
|
+
The above copyright notice and this permission notice shall be
|
|
4581
|
+
included in all copies or substantial portions of the Software.
|
|
4582
|
+
|
|
4583
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
4584
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
4585
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
4586
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
4587
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
4588
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
4589
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
4590
|
+
----------------------------------------------------------------------
|
|
4591
|
+
|
|
4592
|
+
Authors/contributors include:
|
|
4593
|
+
|
|
4594
|
+
A. Wilcox
|
|
4595
|
+
Ada Worcester
|
|
4596
|
+
Alex Dowad
|
|
4597
|
+
Alex Suykov
|
|
4598
|
+
Alexander Monakov
|
|
4599
|
+
Andre McCurdy
|
|
4600
|
+
Andrew Kelley
|
|
4601
|
+
Anthony G. Basile
|
|
4602
|
+
Aric Belsito
|
|
4603
|
+
Arvid Picciani
|
|
4604
|
+
Bartosz Brachaczek
|
|
4605
|
+
Benjamin Peterson
|
|
4606
|
+
Bobby Bingham
|
|
4607
|
+
Boris Brezillon
|
|
4608
|
+
Brent Cook
|
|
4609
|
+
Chris Spiegel
|
|
4610
|
+
Clément Vasseur
|
|
4611
|
+
Daniel Micay
|
|
4612
|
+
Daniel Sabogal
|
|
4613
|
+
Daurnimator
|
|
4614
|
+
David Carlier
|
|
4615
|
+
David Edelsohn
|
|
4616
|
+
Denys Vlasenko
|
|
4617
|
+
Dmitry Ivanov
|
|
4618
|
+
Dmitry V. Levin
|
|
4619
|
+
Drew DeVault
|
|
4620
|
+
Emil Renner Berthing
|
|
4621
|
+
Fangrui Song
|
|
4622
|
+
Felix Fietkau
|
|
4623
|
+
Felix Janda
|
|
4624
|
+
Gianluca Anzolin
|
|
4625
|
+
Hauke Mehrtens
|
|
4626
|
+
He X
|
|
4627
|
+
Hiltjo Posthuma
|
|
4628
|
+
Isaac Dunham
|
|
4629
|
+
Jaydeep Patil
|
|
4630
|
+
Jens Gustedt
|
|
4631
|
+
Jeremy Huntwork
|
|
4632
|
+
Jo-Philipp Wich
|
|
4633
|
+
Joakim Sindholt
|
|
4634
|
+
John Spencer
|
|
4635
|
+
Julien Ramseier
|
|
4636
|
+
Justin Cormack
|
|
4637
|
+
Kaarle Ritvanen
|
|
4638
|
+
Khem Raj
|
|
4639
|
+
Kylie McClain
|
|
4640
|
+
Leah Neukirchen
|
|
4641
|
+
Luca Barbato
|
|
4642
|
+
Luka Perkov
|
|
4643
|
+
M Farkas-Dyck (Strake)
|
|
4644
|
+
Mahesh Bodapati
|
|
4645
|
+
Markus Wichmann
|
|
4646
|
+
Masanori Ogino
|
|
4647
|
+
Michael Clark
|
|
4648
|
+
Michael Forney
|
|
4649
|
+
Mikhail Kremnyov
|
|
4650
|
+
Natanael Copa
|
|
4651
|
+
Nicholas J. Kain
|
|
4652
|
+
orc
|
|
4653
|
+
Pascal Cuoq
|
|
4654
|
+
Patrick Oppenlander
|
|
4655
|
+
Petr Hosek
|
|
4656
|
+
Petr Skocik
|
|
4657
|
+
Pierre Carrier
|
|
4658
|
+
Reini Urban
|
|
4659
|
+
Rich Felker
|
|
4660
|
+
Richard Pennington
|
|
4661
|
+
Ryan Fairfax
|
|
4662
|
+
Samuel Holland
|
|
4663
|
+
Segev Finer
|
|
4664
|
+
Shiz
|
|
4665
|
+
sin
|
|
4666
|
+
Solar Designer
|
|
4667
|
+
Stefan Kristiansson
|
|
4668
|
+
Stefan O'Rear
|
|
4669
|
+
Szabolcs Nagy
|
|
4670
|
+
Timo Teräs
|
|
4671
|
+
Trutz Behn
|
|
4672
|
+
Valentin Ochs
|
|
4673
|
+
Will Dietz
|
|
4674
|
+
William Haddon
|
|
4675
|
+
William Pitcock
|
|
4676
|
+
|
|
4677
|
+
Portions of this software are derived from third-party works licensed
|
|
4678
|
+
under terms compatible with the above MIT license:
|
|
4679
|
+
|
|
4680
|
+
The TRE regular expression implementation (src/regex/reg* and
|
|
4681
|
+
src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed
|
|
4682
|
+
under a 2-clause BSD license (license text in the source files). The
|
|
4683
|
+
included version has been heavily modified by Rich Felker in 2012, in
|
|
4684
|
+
the interests of size, simplicity, and namespace cleanliness.
|
|
4685
|
+
|
|
4686
|
+
Much of the math library code (src/math/* and src/complex/*) is
|
|
4687
|
+
Copyright © 1993,2004 Sun Microsystems or
|
|
4688
|
+
Copyright © 2003-2011 David Schultz or
|
|
4689
|
+
Copyright © 2003-2009 Steven G. Kargl or
|
|
4690
|
+
Copyright © 2003-2009 Bruce D. Evans or
|
|
4691
|
+
Copyright © 2008 Stephen L. Moshier or
|
|
4692
|
+
Copyright © 2017-2018 Arm Limited
|
|
4693
|
+
and labelled as such in comments in the individual source files. All
|
|
4694
|
+
have been licensed under extremely permissive terms.
|
|
4695
|
+
|
|
4696
|
+
The ARM memcpy code (src/string/arm/memcpy.S) is Copyright © 2008
|
|
4697
|
+
The Android Open Source Project and is licensed under a two-clause BSD
|
|
4698
|
+
license. It was taken from Bionic libc, used on Android.
|
|
4699
|
+
|
|
4700
|
+
The AArch64 memcpy and memset code (src/string/aarch64/*) are
|
|
4701
|
+
Copyright © 1999-2019, Arm Limited.
|
|
4702
|
+
|
|
4703
|
+
The implementation of DES for crypt (src/crypt/crypt_des.c) is
|
|
4704
|
+
Copyright © 1994 David Burren. It is licensed under a BSD license.
|
|
4705
|
+
|
|
4706
|
+
The implementation of blowfish crypt (src/crypt/crypt_blowfish.c) was
|
|
4707
|
+
originally written by Solar Designer and placed into the public
|
|
4708
|
+
domain. The code also comes with a fallback permissive license for use
|
|
4709
|
+
in jurisdictions that may not recognize the public domain.
|
|
4710
|
+
|
|
4711
|
+
The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011
|
|
4712
|
+
Valentin Ochs and is licensed under an MIT-style license.
|
|
4713
|
+
|
|
4714
|
+
The x86_64 port was written by Nicholas J. Kain and is licensed under
|
|
4715
|
+
the standard MIT terms.
|
|
4716
|
+
|
|
4717
|
+
The mips and microblaze ports were originally written by Richard
|
|
4718
|
+
Pennington for use in the ellcc project. The original code was adapted
|
|
4719
|
+
by Rich Felker for build system and code conventions during upstream
|
|
4720
|
+
integration. It is licensed under the standard MIT terms.
|
|
4721
|
+
|
|
4722
|
+
The mips64 port was contributed by Imagination Technologies and is
|
|
4723
|
+
licensed under the standard MIT terms.
|
|
4724
|
+
|
|
4725
|
+
The powerpc port was also originally written by Richard Pennington,
|
|
4726
|
+
and later supplemented and integrated by John Spencer. It is licensed
|
|
4727
|
+
under the standard MIT terms.
|
|
4728
|
+
|
|
4729
|
+
All other files which have no copyright comments are original works
|
|
4730
|
+
produced specifically for use as part of this library, written either
|
|
4731
|
+
by Rich Felker, the main author of the library, or by one or more
|
|
4732
|
+
contibutors listed above. Details on authorship of individual files
|
|
4733
|
+
can be found in the git version control history of the project. The
|
|
4734
|
+
omission of copyright and license comments in each file is in the
|
|
4735
|
+
interest of source tree size.
|
|
4736
|
+
|
|
4737
|
+
In addition, permission is hereby granted for all public header files
|
|
4738
|
+
(include/* and arch/*/bits/*) and crt files intended to be linked into
|
|
4739
|
+
applications (crt/*, ldso/dlstart.c, and arch/*/crt_arch.h) to omit
|
|
4740
|
+
the copyright notice and permission notice otherwise required by the
|
|
4741
|
+
license, and to use these files without any requirement of
|
|
4742
|
+
attribution. These files include substantial contributions from:
|
|
4743
|
+
|
|
4744
|
+
Bobby Bingham
|
|
4745
|
+
John Spencer
|
|
4746
|
+
Nicholas J. Kain
|
|
4747
|
+
Rich Felker
|
|
4748
|
+
Richard Pennington
|
|
4749
|
+
Stefan Kristiansson
|
|
4750
|
+
Szabolcs Nagy
|
|
4751
|
+
|
|
4752
|
+
all of whom have explicitly granted such permission.
|
|
4753
|
+
|
|
4754
|
+
This file previously contained text expressing a belief that most of
|
|
4755
|
+
the files covered by the above exception were sufficiently trivial not
|
|
4756
|
+
to be subject to copyright, resulting in confusion over whether it
|
|
4757
|
+
negated the permissions granted in the license. In the spirit of
|
|
4758
|
+
permissive licensing, and of not having licensing issues being an
|
|
4759
|
+
obstacle to adoption, that text has been removed.
|
|
4760
|
+
```
|
|
4761
|
+
|
|
@@ -10,6 +10,8 @@ end
|
|
|
10
10
|
TARGETS = {
|
|
11
11
|
%w[x86_64 linux] => "x86_64-unknown-linux-gnu",
|
|
12
12
|
%w[aarch64 linux] => "aarch64-unknown-linux-gnu",
|
|
13
|
+
%w[x86_64 linux-musl] => "x86_64-unknown-linux-musl",
|
|
14
|
+
%w[aarch64 linux-musl] => "aarch64-unknown-linux-musl",
|
|
13
15
|
%w[arm64 darwin] => "aarch64-apple-darwin",
|
|
14
16
|
%w[aarch64 darwin] => "aarch64-apple-darwin",
|
|
15
17
|
%w[x86_64 darwin] => "x86_64-apple-darwin",
|
|
@@ -18,13 +20,13 @@ MINIMUM_RUST = Gem::Version.new("1.91.0")
|
|
|
18
20
|
|
|
19
21
|
host_os = RbConfig::CONFIG["host_os"]
|
|
20
22
|
os = case host_os
|
|
21
|
-
when /linux-musl/ then
|
|
23
|
+
when /linux-musl/ then "linux-musl"
|
|
22
24
|
when /linux/ then "linux"
|
|
23
25
|
when /darwin/ then "darwin"
|
|
24
26
|
end
|
|
25
27
|
target = os && TARGETS[[RbConfig::CONFIG["host_cpu"], os]]
|
|
26
28
|
unless target
|
|
27
|
-
abort "mini_racer_rs supports Linux (glibc) on x86_64 and aarch64 and macOS on arm64 and x86_64; " \
|
|
29
|
+
abort "mini_racer_rs supports Linux (glibc or musl) on x86_64 and aarch64 and macOS on arm64 and x86_64; " \
|
|
28
30
|
"#{RbConfig::CONFIG["host_cpu"]}-#{host_os} is not supported"
|
|
29
31
|
end
|
|
30
32
|
|
|
@@ -74,5 +76,8 @@ require "rb_sys/mkmf"
|
|
|
74
76
|
|
|
75
77
|
create_rust_makefile("mini_racer_rs/mini_racer_rs") do |r|
|
|
76
78
|
r.extra_cargo_args += ["--locked"]
|
|
79
|
+
# rb_sys hands -crt-static to rustc alone, but cargo refuses a musl cdylib
|
|
80
|
+
# from RUSTFLAGS before rustc runs.
|
|
81
|
+
r.extra_rustflags += ["-C", "target-feature=-crt-static"] if os == "linux-musl"
|
|
77
82
|
r.env.merge!(build_env)
|
|
78
83
|
end
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
a4a5484444ad4b5f10dc7bed141236dd9dbeabf2006d14520f19b935d4db4227 librusty_v8_release_aarch64-apple-darwin.a.gz
|
|
2
2
|
c40196bbf182532e583f65b7daf0196fdbb3354e6fac59b31d0539c20f931f3d librusty_v8_release_aarch64-unknown-linux-gnu.a.gz
|
|
3
|
+
419a242557833151cf9dde82c12c8272c3c00015bfe7e340e48164a600d34039 librusty_v8_release_aarch64-unknown-linux-musl.a.gz
|
|
3
4
|
04cbc1c36c4cd5459c54049775d92889337c69d936fb0b011f9b26f1d454610d librusty_v8_release_x86_64-apple-darwin.a.gz
|
|
4
5
|
b6683e9afcb77fbd8cb2c3acf45d34d52029ab216b332522c95179c12f0fed3c librusty_v8_release_x86_64-unknown-linux-gnu.a.gz
|
|
6
|
+
68f284fb8184b9f9e8d7e23b8f2675dbe464f43f77c0bf152f705bf7ead29558 librusty_v8_release_x86_64-unknown-linux-musl.a.gz
|
|
5
7
|
b9d5652ebca515eb2bf4c2ee4a6551b2567117b5aa720f430d2032616dd7e3b5 src_binding_release_aarch64-apple-darwin.rs
|
|
6
8
|
3e4d5fecdbe0f98a6017e69d7ca82519a77fb032c5eb5e4cdbecdd3e2ec519d5 src_binding_release_aarch64-unknown-linux-gnu.rs
|
|
9
|
+
3e4d5fecdbe0f98a6017e69d7ca82519a77fb032c5eb5e4cdbecdd3e2ec519d5 src_binding_release_aarch64-unknown-linux-musl.rs
|
|
7
10
|
b9d5652ebca515eb2bf4c2ee4a6551b2567117b5aa720f430d2032616dd7e3b5 src_binding_release_x86_64-apple-darwin.rs
|
|
8
11
|
3e4d5fecdbe0f98a6017e69d7ca82519a77fb032c5eb5e4cdbecdd3e2ec519d5 src_binding_release_x86_64-unknown-linux-gnu.rs
|
|
12
|
+
3e4d5fecdbe0f98a6017e69d7ca82519a77fb032c5eb5e4cdbecdd3e2ec519d5 src_binding_release_x86_64-unknown-linux-musl.rs
|
data/licenses/v8/SOURCES.tsv
CHANGED
|
@@ -18,3 +18,4 @@ simdutf LICENSE https://chromium.googlesource.com/chromium/src/third_party/simdu
|
|
|
18
18
|
fast_float LICENSE-MIT https://chromium.googlesource.com/external/github.com/fastfloat/fast_float/+/34164f547b7df3f5d794ff67e9f885c36819ebfc/LICENSE-MIT e562f3f974ced7e69dd1db77b820b36bcf8f30377f1aa105723fba449c53c4e6
|
|
19
19
|
dragonbox LICENSE-Boost https://chromium.googlesource.com/external/github.com/jk-jeon/dragonbox/+/beeeef91cf6fef89a4d4ba5e95d47ca64ccb3a44/LICENSE-Boost c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566
|
|
20
20
|
chromium-build LICENSE https://chromium.googlesource.com/chromium/src/+/refs/tags/152.0.7977.89/LICENSE 368cca1106be99d39ecd32a38d8305585d802a475effb66380b91ffc9bcf709b
|
|
21
|
+
musl COPYRIGHT https://git.musl-libc.org/cgit/musl/plain/COPYRIGHT?h=v1.2.5 f9bc4423732350eb0b3f7ed7e91d530298476f8fec0c6c427a1c04ade22655af
|
data/licenses/v8/components.tsv
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# Code compiled into rusty_v8's prebuilt archives. archive_path is a source
|
|
2
2
|
# directory the archives' debug strings name: a top-level directory, or one
|
|
3
3
|
# third_party/<name>. source is where its license comes from: a rusty_v8
|
|
4
|
-
# submodule at the release tag ("submodule:<path>"), or a pinned base URL
|
|
5
|
-
# with file "-" means another section
|
|
4
|
+
# submodule at the release tag ("submodule:<path>"), or a pinned base URL, whose
|
|
5
|
+
# query (a cgit ref) follows the file; "-" with file "-" means another section
|
|
6
|
+
# of THIRD_PARTY_NOTICES.md covers it.
|
|
6
7
|
# component archive_path source file
|
|
7
8
|
v8 v8 submodule:v8 LICENSE
|
|
8
9
|
v8 v8 submodule:v8 LICENSE.fdlibm
|
|
@@ -24,6 +25,9 @@ dragonbox third_party/dragonbox submodule:third_party/dragonbox/src LICENSE-Boos
|
|
|
24
25
|
# Chromium's build/ has no license file of its own; its sources defer to
|
|
25
26
|
# Chromium's, pinned at the release line matching V8 15.2.
|
|
26
27
|
chromium-build build https://chromium.googlesource.com/chromium/src/+/refs/tags/152.0.7977.89 LICENSE
|
|
28
|
+
# The musl archives compile against the musl headers of rusty_v8's release
|
|
29
|
+
# sysroot: musl 1.2.2 for x86_64, 1.2.5 for aarch64, whose COPYRIGHT files match.
|
|
30
|
+
musl musl-sysroot https://git.musl-libc.org/cgit/musl/plain?h=v1.2.5 COPYRIGHT
|
|
27
31
|
# rusty_v8's own bindings: the v8 crate in the Rust crates section.
|
|
28
32
|
rusty_v8 src - -
|
|
29
33
|
temporal_capi third_party/rust/chromium_crates_io/vendor/temporal_capi-v0_2 - -
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
musl as a whole is licensed under the following standard MIT license:
|
|
2
|
+
|
|
3
|
+
----------------------------------------------------------------------
|
|
4
|
+
Copyright © 2005-2020 Rich Felker, et al.
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
7
|
+
a copy of this software and associated documentation files (the
|
|
8
|
+
"Software"), to deal in the Software without restriction, including
|
|
9
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
10
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
11
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
12
|
+
the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be
|
|
15
|
+
included in all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
18
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
19
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
20
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
21
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
22
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
23
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
24
|
+
----------------------------------------------------------------------
|
|
25
|
+
|
|
26
|
+
Authors/contributors include:
|
|
27
|
+
|
|
28
|
+
A. Wilcox
|
|
29
|
+
Ada Worcester
|
|
30
|
+
Alex Dowad
|
|
31
|
+
Alex Suykov
|
|
32
|
+
Alexander Monakov
|
|
33
|
+
Andre McCurdy
|
|
34
|
+
Andrew Kelley
|
|
35
|
+
Anthony G. Basile
|
|
36
|
+
Aric Belsito
|
|
37
|
+
Arvid Picciani
|
|
38
|
+
Bartosz Brachaczek
|
|
39
|
+
Benjamin Peterson
|
|
40
|
+
Bobby Bingham
|
|
41
|
+
Boris Brezillon
|
|
42
|
+
Brent Cook
|
|
43
|
+
Chris Spiegel
|
|
44
|
+
Clément Vasseur
|
|
45
|
+
Daniel Micay
|
|
46
|
+
Daniel Sabogal
|
|
47
|
+
Daurnimator
|
|
48
|
+
David Carlier
|
|
49
|
+
David Edelsohn
|
|
50
|
+
Denys Vlasenko
|
|
51
|
+
Dmitry Ivanov
|
|
52
|
+
Dmitry V. Levin
|
|
53
|
+
Drew DeVault
|
|
54
|
+
Emil Renner Berthing
|
|
55
|
+
Fangrui Song
|
|
56
|
+
Felix Fietkau
|
|
57
|
+
Felix Janda
|
|
58
|
+
Gianluca Anzolin
|
|
59
|
+
Hauke Mehrtens
|
|
60
|
+
He X
|
|
61
|
+
Hiltjo Posthuma
|
|
62
|
+
Isaac Dunham
|
|
63
|
+
Jaydeep Patil
|
|
64
|
+
Jens Gustedt
|
|
65
|
+
Jeremy Huntwork
|
|
66
|
+
Jo-Philipp Wich
|
|
67
|
+
Joakim Sindholt
|
|
68
|
+
John Spencer
|
|
69
|
+
Julien Ramseier
|
|
70
|
+
Justin Cormack
|
|
71
|
+
Kaarle Ritvanen
|
|
72
|
+
Khem Raj
|
|
73
|
+
Kylie McClain
|
|
74
|
+
Leah Neukirchen
|
|
75
|
+
Luca Barbato
|
|
76
|
+
Luka Perkov
|
|
77
|
+
M Farkas-Dyck (Strake)
|
|
78
|
+
Mahesh Bodapati
|
|
79
|
+
Markus Wichmann
|
|
80
|
+
Masanori Ogino
|
|
81
|
+
Michael Clark
|
|
82
|
+
Michael Forney
|
|
83
|
+
Mikhail Kremnyov
|
|
84
|
+
Natanael Copa
|
|
85
|
+
Nicholas J. Kain
|
|
86
|
+
orc
|
|
87
|
+
Pascal Cuoq
|
|
88
|
+
Patrick Oppenlander
|
|
89
|
+
Petr Hosek
|
|
90
|
+
Petr Skocik
|
|
91
|
+
Pierre Carrier
|
|
92
|
+
Reini Urban
|
|
93
|
+
Rich Felker
|
|
94
|
+
Richard Pennington
|
|
95
|
+
Ryan Fairfax
|
|
96
|
+
Samuel Holland
|
|
97
|
+
Segev Finer
|
|
98
|
+
Shiz
|
|
99
|
+
sin
|
|
100
|
+
Solar Designer
|
|
101
|
+
Stefan Kristiansson
|
|
102
|
+
Stefan O'Rear
|
|
103
|
+
Szabolcs Nagy
|
|
104
|
+
Timo Teräs
|
|
105
|
+
Trutz Behn
|
|
106
|
+
Valentin Ochs
|
|
107
|
+
Will Dietz
|
|
108
|
+
William Haddon
|
|
109
|
+
William Pitcock
|
|
110
|
+
|
|
111
|
+
Portions of this software are derived from third-party works licensed
|
|
112
|
+
under terms compatible with the above MIT license:
|
|
113
|
+
|
|
114
|
+
The TRE regular expression implementation (src/regex/reg* and
|
|
115
|
+
src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed
|
|
116
|
+
under a 2-clause BSD license (license text in the source files). The
|
|
117
|
+
included version has been heavily modified by Rich Felker in 2012, in
|
|
118
|
+
the interests of size, simplicity, and namespace cleanliness.
|
|
119
|
+
|
|
120
|
+
Much of the math library code (src/math/* and src/complex/*) is
|
|
121
|
+
Copyright © 1993,2004 Sun Microsystems or
|
|
122
|
+
Copyright © 2003-2011 David Schultz or
|
|
123
|
+
Copyright © 2003-2009 Steven G. Kargl or
|
|
124
|
+
Copyright © 2003-2009 Bruce D. Evans or
|
|
125
|
+
Copyright © 2008 Stephen L. Moshier or
|
|
126
|
+
Copyright © 2017-2018 Arm Limited
|
|
127
|
+
and labelled as such in comments in the individual source files. All
|
|
128
|
+
have been licensed under extremely permissive terms.
|
|
129
|
+
|
|
130
|
+
The ARM memcpy code (src/string/arm/memcpy.S) is Copyright © 2008
|
|
131
|
+
The Android Open Source Project and is licensed under a two-clause BSD
|
|
132
|
+
license. It was taken from Bionic libc, used on Android.
|
|
133
|
+
|
|
134
|
+
The AArch64 memcpy and memset code (src/string/aarch64/*) are
|
|
135
|
+
Copyright © 1999-2019, Arm Limited.
|
|
136
|
+
|
|
137
|
+
The implementation of DES for crypt (src/crypt/crypt_des.c) is
|
|
138
|
+
Copyright © 1994 David Burren. It is licensed under a BSD license.
|
|
139
|
+
|
|
140
|
+
The implementation of blowfish crypt (src/crypt/crypt_blowfish.c) was
|
|
141
|
+
originally written by Solar Designer and placed into the public
|
|
142
|
+
domain. The code also comes with a fallback permissive license for use
|
|
143
|
+
in jurisdictions that may not recognize the public domain.
|
|
144
|
+
|
|
145
|
+
The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011
|
|
146
|
+
Valentin Ochs and is licensed under an MIT-style license.
|
|
147
|
+
|
|
148
|
+
The x86_64 port was written by Nicholas J. Kain and is licensed under
|
|
149
|
+
the standard MIT terms.
|
|
150
|
+
|
|
151
|
+
The mips and microblaze ports were originally written by Richard
|
|
152
|
+
Pennington for use in the ellcc project. The original code was adapted
|
|
153
|
+
by Rich Felker for build system and code conventions during upstream
|
|
154
|
+
integration. It is licensed under the standard MIT terms.
|
|
155
|
+
|
|
156
|
+
The mips64 port was contributed by Imagination Technologies and is
|
|
157
|
+
licensed under the standard MIT terms.
|
|
158
|
+
|
|
159
|
+
The powerpc port was also originally written by Richard Pennington,
|
|
160
|
+
and later supplemented and integrated by John Spencer. It is licensed
|
|
161
|
+
under the standard MIT terms.
|
|
162
|
+
|
|
163
|
+
All other files which have no copyright comments are original works
|
|
164
|
+
produced specifically for use as part of this library, written either
|
|
165
|
+
by Rich Felker, the main author of the library, or by one or more
|
|
166
|
+
contibutors listed above. Details on authorship of individual files
|
|
167
|
+
can be found in the git version control history of the project. The
|
|
168
|
+
omission of copyright and license comments in each file is in the
|
|
169
|
+
interest of source tree size.
|
|
170
|
+
|
|
171
|
+
In addition, permission is hereby granted for all public header files
|
|
172
|
+
(include/* and arch/*/bits/*) and crt files intended to be linked into
|
|
173
|
+
applications (crt/*, ldso/dlstart.c, and arch/*/crt_arch.h) to omit
|
|
174
|
+
the copyright notice and permission notice otherwise required by the
|
|
175
|
+
license, and to use these files without any requirement of
|
|
176
|
+
attribution. These files include substantial contributions from:
|
|
177
|
+
|
|
178
|
+
Bobby Bingham
|
|
179
|
+
John Spencer
|
|
180
|
+
Nicholas J. Kain
|
|
181
|
+
Rich Felker
|
|
182
|
+
Richard Pennington
|
|
183
|
+
Stefan Kristiansson
|
|
184
|
+
Szabolcs Nagy
|
|
185
|
+
|
|
186
|
+
all of whom have explicitly granted such permission.
|
|
187
|
+
|
|
188
|
+
This file previously contained text expressing a belief that most of
|
|
189
|
+
the files covered by the above exception were sufficiently trivial not
|
|
190
|
+
to be subject to copyright, resulting in confusion over whether it
|
|
191
|
+
negated the permissions granted in the license. In the spirit of
|
|
192
|
+
permissive licensing, and of not having licensing issues being an
|
|
193
|
+
obstacle to adoption, that text has been removed.
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mini_racer_rs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andy Aragon
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-10-
|
|
10
|
+
date: 2026-10-22 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: rb_sys
|
|
@@ -133,6 +133,7 @@ files:
|
|
|
133
133
|
- licenses/v8/libc++/LICENSE.TXT
|
|
134
134
|
- licenses/v8/libc++abi/LICENSE.TXT
|
|
135
135
|
- licenses/v8/llvm-libc/LICENSE.TXT
|
|
136
|
+
- licenses/v8/musl/COPYRIGHT
|
|
136
137
|
- licenses/v8/rapidhash/LICENSE
|
|
137
138
|
- licenses/v8/simdutf/LICENSE
|
|
138
139
|
- licenses/v8/siphash/LICENSE
|