beni 0.10.0 → 0.12.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 +45 -0
- data/README.md +4 -0
- data/lib/beni/version.rb +1 -1
- data/scripts/cloud_setup.sh +25 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 751c23fa55573f7cfd9335654f61613b16278a61b0fb8cf57e1c891a84bc5ee0
|
|
4
|
+
data.tar.gz: c2b5767b3eae4ce6e17a8c41cec7dd379971fe099cc1000a42254a6d834dfca7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ae13c7e5ea04783c3c32ef6593416f52c671e3ebdb4f5d4e84adc8a0f5593f9c33f0982dfecee0e6c16b65dab8b264a05c1580cede8a65d7afa841580ac4c26
|
|
7
|
+
data.tar.gz: 52474f31804258fb74b870801838f5bffd34913243e86f77d33cf5f3a72ca51a92f1dd9dd7e2be47dd382e2d4b702a83673589a332cc4551b38af5826c4acac1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.12.0](https://github.com/elct9620/beni/compare/v0.11.0...v0.12.0) (2026-09-07)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* **beni-sys:** check the toolchain root against the one that built it
|
|
9
|
+
* **beni-sys:** link what the archive's sidecar names
|
|
10
|
+
* **beni:** require a carried payload to cross threads
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* **beni-sys:** check the toolchain root against the one that built it ([c8799ae](https://github.com/elct9620/beni/commit/c8799aedff194819d1ef5b1e9ebbdefcc95344e7))
|
|
15
|
+
* **beni-sys:** link what the archive's sidecar names ([e694a2d](https://github.com/elct9620/beni/commit/e694a2d03199f86982e776e3c39dafb1c95bcaaa))
|
|
16
|
+
* **beni-sys:** refuse an archive older than the crates build against ([46d5830](https://github.com/elct9620/beni/commit/46d583041f3789a64e5e5cf4385e3666304caa8e))
|
|
17
|
+
* **beni:** carry an interpreter between threads ([e439835](https://github.com/elct9620/beni/commit/e4398358c25a2a167c4f90e6becd8da5260c9db7))
|
|
18
|
+
* **beni:** require a carried payload to cross threads ([ee8a0b7](https://github.com/elct9620/beni/commit/ee8a0b7303eb7c6ed651b26aad4c30b933661c3c))
|
|
19
|
+
* **beni:** state that a data-type descriptor crosses threads ([95b6d2f](https://github.com/elct9620/beni/commit/95b6d2f02c823b9b79cdfee449aad5f87f54ba99))
|
|
20
|
+
* **beni:** state that a typed handle crosses threads ([c75436a](https://github.com/elct9620/beni/commit/c75436a02db5ff6d23363b2e38499e93c8fb62e2))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* **beni-sys:** compile the shims with the compiler their flags were written for ([bb3a3ea](https://github.com/elct9620/beni/commit/bb3a3ea57096c84d4a304cc16f469730191feb51))
|
|
26
|
+
* **beni-sys:** fail on a link set the sidecar states in another shape ([a68f3e9](https://github.com/elct9620/beni/commit/a68f3e919adc5c0cd944b9863677a126a7bd3ca0))
|
|
27
|
+
* **beni-sys:** hold binding generation to what the headers declare ([1829b20](https://github.com/elct9620/beni/commit/1829b20c959aa1875578589651730d8d94fc360d))
|
|
28
|
+
|
|
29
|
+
## [0.11.0](https://github.com/elct9620/beni/compare/v0.10.0...v0.11.0) (2026-09-04)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Features
|
|
33
|
+
|
|
34
|
+
* **beni:** let the caller place the memory the collector carves ([737c09a](https://github.com/elct9620/beni/commit/737c09a8c78ae65aaa21ca32a9e8787e5b48c1c8))
|
|
35
|
+
* **beni:** release one root without releasing another's ([05d8b4b](https://github.com/elct9620/beni/commit/05d8b4b766f087a5c5dd09a983096d8e4fb11e40))
|
|
36
|
+
* **beni:** root a value for the interpreter's lifetime ([6a9777d](https://github.com/elct9620/beni/commit/6a9777d9ccc049c2a77588e217ee8822bc5775bb))
|
|
37
|
+
* **coverage:** derive alias coverage from the headers ([0b09e18](https://github.com/elct9620/beni/commit/0b09e18ab5702f3d48e74c2a78dc9f480c372d2a))
|
|
38
|
+
* **coverage:** rank the worklist by the consumers beni exists for ([5873287](https://github.com/elct9620/beni/commit/587328701fbac7ae3f010aaeb345065596a40485))
|
|
39
|
+
* **coverage:** record why a symbol sits outside the measure ([d950f62](https://github.com/elct9620/beni/commit/d950f62df87f63b714cf07096f5809b2b0e4f55a))
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Bug Fixes
|
|
43
|
+
|
|
44
|
+
* **api:** rank by the mrbgems the build activates ([bbed32d](https://github.com/elct9620/beni/commit/bbed32dd420beeeb2b4230aec846c4263117487d))
|
|
45
|
+
* **coverage:** hold the alias gate where its evidence is ([7cf2aa1](https://github.com/elct9620/beni/commit/7cf2aa1fc9d912f7e622689ba4a76acd8e51d402))
|
|
46
|
+
* **coverage:** reject a classification with nothing behind it ([2362939](https://github.com/elct9620/beni/commit/2362939397130d83bf942bd22a76e5cdd584c170))
|
|
47
|
+
|
|
3
48
|
## [0.10.0](https://github.com/elct9620/beni/compare/v0.9.0...v0.10.0) (2026-07-18)
|
|
4
49
|
|
|
5
50
|
|
data/README.md
CHANGED
|
@@ -90,6 +90,10 @@ fn main() {
|
|
|
90
90
|
}
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
+
An interpreter is carried between threads but never reached from two at
|
|
94
|
+
once: `Mrb` is `Send` and not `Sync`, so handing one to another thread
|
|
95
|
+
compiles while sharing it needs a `Mutex` of your own.
|
|
96
|
+
|
|
93
97
|
With no archive discovery variable set, a host build compiles in
|
|
94
98
|
placeholder mode: `cargo check` passes, no FFI surface is exported, and
|
|
95
99
|
`Mrb::open` returns an error — so `beni` is safe to take as a transitive
|
data/lib/beni/version.rb
CHANGED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Cloud session bootstrap
|
|
3
|
+
# =======================
|
|
4
|
+
#
|
|
5
|
+
# A cloud session starts from a fresh VM holding nothing but a clone, so
|
|
6
|
+
# everything the task surface expects from a working checkout is rebuilt
|
|
7
|
+
# here. A local checkout keeps its own, so the script stops unless it is
|
|
8
|
+
# running in the cloud.
|
|
9
|
+
set -euo pipefail
|
|
10
|
+
|
|
11
|
+
[ "${CLAUDE_CODE_REMOTE:-}" = "true" ] || exit 0
|
|
12
|
+
|
|
13
|
+
cd "$CLAUDE_PROJECT_DIR"
|
|
14
|
+
|
|
15
|
+
# The default rake task and every hook run through bundler.
|
|
16
|
+
bundle check >/dev/null 2>&1 || bundle install
|
|
17
|
+
|
|
18
|
+
# The coverage measure reads its inventory from the vendored mruby headers,
|
|
19
|
+
# and the session's egress serves the git protocol but not source archives —
|
|
20
|
+
# so the source arrives by clone here, at the version the gem pins.
|
|
21
|
+
if [ ! -d vendor/mruby ]; then
|
|
22
|
+
version="$(ruby -Ilib -rbeni/vendor -e 'print Beni::Vendor::BUILT_IN_PAIRS.fetch("mruby").fetch(:version)')"
|
|
23
|
+
GIT_LFS_SKIP_SMUDGE=1 git -c advice.detachedHead=false clone --quiet --depth 1 \
|
|
24
|
+
--branch "$version" https://github.com/mruby/mruby.git vendor/mruby
|
|
25
|
+
fi
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: beni
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.12.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aotokitsuruya
|
|
@@ -54,6 +54,7 @@ files:
|
|
|
54
54
|
- lib/beni/vendor/toolchain.rb
|
|
55
55
|
- lib/beni/vendor/toolchains/wasi.rake
|
|
56
56
|
- lib/beni/version.rb
|
|
57
|
+
- scripts/cloud_setup.sh
|
|
57
58
|
- sig/beni.rbs
|
|
58
59
|
- sig/beni/build_config.rbs
|
|
59
60
|
- sig/beni/builder.rbs
|