Skip to content

Preserve pointer depth in semantic validation - #419

Merged
LunaStev merged 1 commit into
wavefnd:masterfrom
LunaStev:patch/issue-358-pointer-depth
Aug 28, 2026
Merged

LunaStev merged 1 commit into
wavefnd:masterfrom
LunaStev:patch/issue-358-pointer-depth

Conversation

@LunaStev

Copy link
Copy Markdown
Member

Summary

  • reject implicit pointer-to-pointer conversions when canonical pointee types differ
  • preserve &message as ptr<str> and require an explicit cast for raw ptr<i8> access
  • make intentional std networking and TCP syscall pointer erasure explicit
  • add check/build regressions for Reject implicit pointer-depth loss when taking the address of str #358 and mismatched pointer arguments

Validation

  • cargo fmt --all --check
  • cargo test --workspace --locked --jobs 2
  • cargo clippy --locked --all-targets --jobs 2 -- -D warnings
  • RUSTDOCFLAGS="-D warnings" cargo doc --locked --no-deps --jobs 2
  • ./tools/check_std_policy.sh
  • python3 tools/check_wave_corpus.py --wavec target/debug/wavec (92 passed)
  • python3 tools/run_tests.py with the branch std installed in an isolated home (100 passed, 8 platform skips, 0 failed)
  • git diff --check

Close #358

@LunaStev
LunaStev merged commit 7e8e727 into wavefnd:master Aug 28, 2026
6 checks passed
@LunaStev LunaStev mentioned this pull request Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reject implicit pointer-depth loss when taking the address of str

1 participant