rusty_racer 0.1.10 → 0.1.11
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/README.md +6 -7
- data/ext/rusty_racer/Cargo.toml +9 -8
- data/ext/rusty_racer/extconf.rb +5 -6
- data/lib/rusty_racer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 895932416f172914a42904dd40f7d831dfc4db64bbc10273d8d1155a7e11e447
|
|
4
|
+
data.tar.gz: 462425835fd9f5968bd6793d65b72f43d1ecd23a20dae78a6cba4477c72caa88
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 459411e726623eca6320aa93e71a85193c12dbe9343520320c7754b514efaf3bdceacac545a6d99c0533d67fdfcaa5a1be6ea306d78faf6006ef082b51ee4c48
|
|
7
|
+
data.tar.gz: 4f4b91ff5287375a01ee3fb3bd87bf5fc82ff130c22654ad732021395c46c57b096290da2caaa9b49f411c706e2ec6fb36b1aeecc281a9a65d9a4fd6d6b9c792
|
data/README.md
CHANGED
|
@@ -278,13 +278,12 @@ builds the extension at install time — see below.
|
|
|
278
278
|
|
|
279
279
|
## Building from source
|
|
280
280
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
(large: lots of disk, RAM, and time).
|
|
281
|
+
Building the source gem needs only a Rust toolchain — the `v8` crate downloads
|
|
282
|
+
Deno's stock prebuilt `rusty_v8` archive and links it statically. Since rusty_v8
|
|
283
|
+
150.1.0 that archive is shared-library-safe on Linux too (it no longer emits the
|
|
284
|
+
`R_X86_64_TPOFF32`-under-`-shared` relocation that used to block linking V8 into
|
|
285
|
+
an extension's shared object), so no `RUSTY_V8_ARCHIVE` override or from-source V8
|
|
286
|
+
build is required on any supported platform.
|
|
288
287
|
|
|
289
288
|
## License
|
|
290
289
|
|
data/ext/rusty_racer/Cargo.toml
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
# Standalone (detached from the spike workspace) so it builds as a normal gem
|
|
2
|
-
# extension. The cdylib is the Ruby extension; V8 is baked in
|
|
3
|
-
#
|
|
4
|
-
#
|
|
2
|
+
# extension. The cdylib is the Ruby extension; V8 is baked in — the v8 crate
|
|
3
|
+
# downloads Deno's stock prebuilt rusty_v8 archive and links it statically. Since
|
|
4
|
+
# rusty_v8 150.1.0 that archive is shared-library-safe on linux too, so the .so
|
|
5
|
+
# links and loads with no custom archive.
|
|
5
6
|
[package]
|
|
6
7
|
name = "rusty_racer"
|
|
7
|
-
version = "0.1.
|
|
8
|
-
edition = "
|
|
8
|
+
version = "0.1.11"
|
|
9
|
+
edition = "2024"
|
|
9
10
|
publish = false
|
|
10
11
|
|
|
11
12
|
[lib]
|
|
@@ -20,9 +21,9 @@ rb-sys = "0.9"
|
|
|
20
21
|
# simdutf: SIMD-accelerated UTF-8/UTF-16 transcoding in rusty_v8's String
|
|
21
22
|
# conversion (to_rust_string_lossy etc.), the path every V8->Ruby string crosses.
|
|
22
23
|
# ~6-8x faster marshalling for non-ASCII results (measured); ASCII is unaffected.
|
|
23
|
-
#
|
|
24
|
-
#
|
|
25
|
-
v8 = { version = "150.
|
|
24
|
+
# The feature makes the v8 crate fetch Deno's _simdutf prebuilt archive variant
|
|
25
|
+
# (which is built with rusty_v8_enable_simdutf=true) on every platform.
|
|
26
|
+
v8 = { version = "150.1.0", features = ["simdutf"] }
|
|
26
27
|
# pthread stack-bounds query, to set V8's stack limit per op relative to the
|
|
27
28
|
# current native thread (in-thread V8 runs on the Ruby thread's stack).
|
|
28
29
|
libc = "0.2"
|
data/ext/rusty_racer/extconf.rb
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
require "mkmf"
|
|
2
2
|
require "rb_sys/mkmf"
|
|
3
3
|
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
#
|
|
9
|
-
# `rake compile`), NOT here, where it would not propagate.
|
|
4
|
+
# The v8 crate downloads Deno's stock prebuilt rusty_v8 archive and links it
|
|
5
|
+
# statically — no build config needed here. As of rusty_v8 150.1.0 (PR #2008) the
|
|
6
|
+
# Linux archive is built shared-library-safe (v8_monolithic_for_shared_library),
|
|
7
|
+
# so it links into the extension cdylib without the R_X86_64_TPOFF32-under-shared
|
|
8
|
+
# error that used to force a from-source library-TLS build on linux.
|
|
10
9
|
|
|
11
10
|
create_rust_makefile("rusty_racer/rusty_racer")
|
data/lib/rusty_racer/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rusty_racer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Keita Urashima
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-07-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rb_sys
|