diff options
| author | Ian McIntyre <ianpmcintyre@gmail.com> | 2024-02-22 16:55:34 -0500 |
|---|---|---|
| committer | Ian McIntyre <ianpmcintyre@gmail.com> | 2024-04-03 09:52:56 -0400 |
| commit | feca35c7c12b3ad2fb8cd5c4e48003da2b283b8b (patch) | |
| tree | 881f438c48b9f99f96d5df914fe0a7c109836c44 /CHANGELOG.md | |
| parent | 1879a2d6be6b72f3a59364200c8b5c75aff9d5f0 (diff) | |
Add environment variable overrides for stack, heap
If you define a runtime, you can call `stack_size_env_override` to
define an optional environment variable checked by the runtime builder.
Same goes for the heap. A user can set these environment variables to
override the runtime's stack / heap size. You can use this package's
examples to try it out; see the updated build script.
There's no default environment variable for either memory region. The
package that defines the runtime needs to opt-in to this feature.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index aa37d8c..17b4417 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ ## [Unreleased] +Add configurations to `RuntimeBuilder`: + +- `stack_size_env_override` +- `heap_size_env_override` + +Use these methods to define environment variables that can override the +stack / heap sizes. + ## [0.1.3] 2023-10-01 Ensure that the runtime supports the GNU linker, `ld`. |
