-
-
Notifications
You must be signed in to change notification settings - Fork 0
Release test #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release test #15
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates build scripts, Rust imports/flags, async execution replacement, project editions, and packaging configurations for the upcoming release.
- Rename and relocate the WASM artifact in the npm build step
- Switch to new Rust edition (2024), update imports and use
execute_dxb_sync
- Adjust Deno publish settings and add alt text to README image
Reviewed Changes
Copilot reviewed 10 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
scripts/build-npm.ts | Updated source and destination paths for the .wasm file |
rs-lib/src/runtime.rs | Changed with_is_end_of_scope to with_is_end_of_context |
rs-lib/src/pointer.rs | Updated import path for Reference |
rs-lib/src/network/com_interfaces/webrtc_js_interface.rs | Updated import path for Endpoint |
rs-lib/src/lib.rs | Swapped to execute_dxb_sync , reorganized imports |
rs-lib/datex-core | Bumped submodule commit |
rs-lib/Cargo.toml | Bumped Rust edition to 2024 |
.rustfmt.toml | Bumped Rust edition to 2024 |
deno.json | Added publish exclude rules |
README.md | Switched image sizing to width and added alt text |
Comments suppressed due to low confidence (4)
rs-lib/src/runtime.rs:172
- Confirm that
with_is_end_of_context(true)
triggers the same intended behavior as the previouswith_is_end_of_scope(true)
, since this changes the semantic flag being set.
.with_is_end_of_context(true)
rs-lib/src/lib.rs:66
- [nitpick] After unwrapping the
Result
, the code calls.unwrap()
on theOption
; consider using.expect("Execution returned no result")
to provide a clearer panic message instead of a genericNone
unwrap.
let result = execute_dxb_sync(input).unwrap_or_else(|err| {
scripts/build-npm.ts:42
- Ensure that the build process actually outputs
datex_core_js.wasm
instead of the previousdatex_core_js_bg.wasm
, or adjust this path back to match the generated artifact.
"src/datex-core/datex_core_js.wasm",
deno.json:31
- [nitpick] Verify that the
"!"
negate patterns inexclude
work as intended for Deno's publish configuration, as this syntax may not match the expected glob rules.
"publish": {
No description provided.