Skip to content

Detect INK_STATIC_BUFFER_SIZE env var#1310

Merged
SkymanOne merged 5 commits intomasterfrom
gn/buffer-config-support
Sep 4, 2023
Merged

Detect INK_STATIC_BUFFER_SIZE env var#1310
SkymanOne merged 5 commits intomasterfrom
gn/buffer-config-support

Conversation

@SkymanOne
Copy link
Copy Markdown
Contributor

@SkymanOne SkymanOne commented Sep 1, 2023

Feat use-ink/ink#1869 and closes #1285

cargo-contract now detects if the INK_STATIC_BUFFER_SIZE env var has been set and it is different from the value specified in the metadata. If so, we clean binaries and rebuild the contract.

If not, we simply skip the step.

@SkymanOne SkymanOne requested a review from ascjones September 1, 2023 17:22
@SkymanOne SkymanOne merged commit 0627b1e into master Sep 4, 2023
@SkymanOne SkymanOne deleted the gn/buffer-config-support branch September 4, 2023 10:00
@smiasojed smiasojed mentioned this pull request Nov 30, 2023
@smiasojed smiasojed mentioned this pull request Mar 4, 2024
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.

Support configuration of the static buffer size

2 participants