@ai-ecoverse/wasix-ruby 3.4.11-5 → 3.4.11-6
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.
- package/PRESTAGE.md +1 -1
- package/README.md +14 -0
- package/package.json +7 -7
package/PRESTAGE.md
CHANGED
package/README.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
1
|
# `@ai-ecoverse/wasix-ruby`
|
|
2
2
|
|
|
3
3
|
MRI Ruby for slicc WASIX. No epoll (poll fallback). See PRESTAGE.md.
|
|
4
|
+
|
|
5
|
+
## Gem executables on PATH
|
|
6
|
+
|
|
7
|
+
Command env puts user gem bins ahead of the package:
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
${HOME}/.local/share/gem/ruby/3.4.0/bin:${package}/bin:${PATH}
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
That covers Ruby child processes (`system`, `spawn`, `bundle exec`, …). To run those gems **by name from your shell**, add the same user gem bin directory to the host PATH, e.g. in `~/.bashrc`:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
export PATH="$HOME/.local/share/gem/ruby/3.4.0/bin:$PATH"
|
|
17
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/wasix-ruby",
|
|
3
|
-
"version": "3.4.11-
|
|
3
|
+
"version": "3.4.11-6",
|
|
4
4
|
"description": "MRI Ruby for slicc WASIX (no epoll; asyncify spill 65536; date_core; sysroot 2025.9.30-14)",
|
|
5
5
|
"license": "Ruby",
|
|
6
6
|
"files": [
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"asyncify_buf": 65536,
|
|
21
21
|
"asyncify_note": "POSTLINK: wasm-opt --asyncify only (no asyncify-ignore-imports, no restricted import list). Spill macros WASM_{SETJMP,FIBER,SCAN}_STACK_BUFFER_SIZE=65536 (upstream default 6144). No RB_WASM_ASYNCIFY symbol.",
|
|
22
22
|
"threads_note": "pthread + Asyncify trampoline (WASIX_WASM_THREAD_RT); TLS Asyncify state. Certify Thread/Mutex/Queue at real ipk path for -4+.",
|
|
23
|
-
"relocation_note": "configure --prefix=/nonexistent-ruby-prefix so baked-in load paths never match VFS. RUBYLIB lists site/vendor/api + arch (rbconfig). Certify at /shared/lib/node_modules/@ai-ecoverse/wasix-ruby with manifest env
|
|
24
|
-
"slicc_pr_3735": "gem/bundle/rake use args: [\"${package}/bin
|
|
23
|
+
"relocation_note": "configure --prefix=/nonexistent-ruby-prefix so baked-in load paths never match VFS. RUBYLIB lists site/vendor/api + arch (rbconfig). Certify at /shared/lib/node_modules/@ai-ecoverse/wasix-ruby with manifest env — never at /ruby.",
|
|
24
|
+
"slicc_pr_3735": "gem/bundle/rake use args: [\"${package}/bin/…\"]; needs SLICC PR #3735 (absolute args). Until merged, those commands need a harness with the PR."
|
|
25
25
|
},
|
|
26
26
|
"slicc": {
|
|
27
27
|
"abi": "wasi",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"ruby": {
|
|
30
30
|
"wasm": "bin/ruby.wasm",
|
|
31
31
|
"env": {
|
|
32
|
-
"PATH": "${package}/bin:${PATH}",
|
|
32
|
+
"PATH": "${HOME}/.local/share/gem/ruby/3.4.0/bin:${package}/bin:${PATH}",
|
|
33
33
|
"RUBYLIB": "${package}/lib/ruby/site_ruby/3.4.0:${package}/lib/ruby/site_ruby/3.4.0/wasm32-wasi:${package}/lib/ruby/vendor_ruby/3.4.0:${package}/lib/ruby/vendor_ruby/3.4.0/wasm32-wasi:${package}/lib/ruby/3.4.0:${package}/lib/ruby/3.4.0/wasm32-wasi",
|
|
34
34
|
"GEM_HOME": "${HOME}/.local/share/gem/ruby/3.4.0",
|
|
35
35
|
"GEM_PATH": "${HOME}/.local/share/gem/ruby/3.4.0:${package}/lib/ruby/gems/3.4.0"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"${package}/bin/gem"
|
|
42
42
|
],
|
|
43
43
|
"env": {
|
|
44
|
-
"PATH": "${package}/bin:${PATH}",
|
|
44
|
+
"PATH": "${HOME}/.local/share/gem/ruby/3.4.0/bin:${package}/bin:${PATH}",
|
|
45
45
|
"RUBYLIB": "${package}/lib/ruby/site_ruby/3.4.0:${package}/lib/ruby/site_ruby/3.4.0/wasm32-wasi:${package}/lib/ruby/vendor_ruby/3.4.0:${package}/lib/ruby/vendor_ruby/3.4.0/wasm32-wasi:${package}/lib/ruby/3.4.0:${package}/lib/ruby/3.4.0/wasm32-wasi",
|
|
46
46
|
"GEM_HOME": "${HOME}/.local/share/gem/ruby/3.4.0",
|
|
47
47
|
"GEM_PATH": "${HOME}/.local/share/gem/ruby/3.4.0:${package}/lib/ruby/gems/3.4.0"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"${package}/bin/bundle"
|
|
54
54
|
],
|
|
55
55
|
"env": {
|
|
56
|
-
"PATH": "${package}/bin:${PATH}",
|
|
56
|
+
"PATH": "${HOME}/.local/share/gem/ruby/3.4.0/bin:${package}/bin:${PATH}",
|
|
57
57
|
"RUBYLIB": "${package}/lib/ruby/site_ruby/3.4.0:${package}/lib/ruby/site_ruby/3.4.0/wasm32-wasi:${package}/lib/ruby/vendor_ruby/3.4.0:${package}/lib/ruby/vendor_ruby/3.4.0/wasm32-wasi:${package}/lib/ruby/3.4.0:${package}/lib/ruby/3.4.0/wasm32-wasi",
|
|
58
58
|
"GEM_HOME": "${HOME}/.local/share/gem/ruby/3.4.0",
|
|
59
59
|
"GEM_PATH": "${HOME}/.local/share/gem/ruby/3.4.0:${package}/lib/ruby/gems/3.4.0"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"${package}/bin/rake"
|
|
66
66
|
],
|
|
67
67
|
"env": {
|
|
68
|
-
"PATH": "${package}/bin:${PATH}",
|
|
68
|
+
"PATH": "${HOME}/.local/share/gem/ruby/3.4.0/bin:${package}/bin:${PATH}",
|
|
69
69
|
"RUBYLIB": "${package}/lib/ruby/site_ruby/3.4.0:${package}/lib/ruby/site_ruby/3.4.0/wasm32-wasi:${package}/lib/ruby/vendor_ruby/3.4.0:${package}/lib/ruby/vendor_ruby/3.4.0/wasm32-wasi:${package}/lib/ruby/3.4.0:${package}/lib/ruby/3.4.0/wasm32-wasi",
|
|
70
70
|
"GEM_HOME": "${HOME}/.local/share/gem/ruby/3.4.0",
|
|
71
71
|
"GEM_PATH": "${HOME}/.local/share/gem/ruby/3.4.0:${package}/lib/ruby/gems/3.4.0"
|