Skip to content

Add a build task for crates to opt-in to no_alloc builds - #208

Merged
kuqin12 merged 5 commits into
OpenDevicePartnership:mainfrom
kuqin12:no_alloc
Oct 19, 2026
Merged

kuqin12 merged 5 commits into
OpenDevicePartnership:mainfrom
kuqin12:no_alloc

Conversation

@kuqin12

@kuqin12 kuqin12 commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

This change adds a build task that allows the build for crates that do not pull in alloc.

For crates that would like to opt-in for this build, one should set the following and trigger build with cargo make build-no-alloc:

[package.metadata.patina]
no_alloc = true

Comment thread .sync/rust/Makefiles/Makefile-patina.toml Outdated
Comment thread .sync/rust/Makefiles/Makefile-patina.toml
Comment thread .sync/rust/Makefiles/Makefile-patina.toml
Comment thread .sync/rust/Makefiles/Makefile-patina.toml Outdated
@kuqin12
kuqin12 merged commit 1ea0dec into OpenDevicePartnership:main Oct 19, 2026
1 check passed
@kuqin12
kuqin12 deleted the no_alloc branch October 19, 2026 20:11
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.

4 participants