bytecodealliance / bytecodealliance/cranelift-jit-demo

Add example that uses `load` and `store`

Open
#69 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
763
Forks
65
PR merge metrics
No merged PRs in 30d

Description

I've been trying to create a fixed length of memory and load from it. I keep getting

```
terminated by signal SIGSEGV (Address boundary error)
```

If you could add an example showing such a usecase it would be very helpful.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the repository's existing examples and any current `load` and `store` usage. Add an example showing fixed-length memory allocation and safe loading and storing, and confirm it runs without the reported SIGSEGV.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.