Skip to content

feat(rust): add configurable inline hints - #52

Merged
mentaljam merged 1 commit into
mainfrom
feat/rust-inline-feature
Aug 21, 2026
Merged

mentaljam merged 1 commit into
mainfrom
feat/rust-inline-feature

Conversation

@mentaljam

@mentaljam mentaljam commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a default-enabled inline Cargo feature for the Rust target
  • make generated public PTF functions use #[inline] when the feature is enabled so their bodies are available to downstream optimization
  • document the feature and show collecting multiple PTF outputs in one pass over input arrays

Notes

Generated Rust sources are intentionally not regenerated in this draft. The generator change will cause generate-check drift until generation is run in a follow-up step.

@mentaljam
mentaljam force-pushed the feat/rust-inline-feature branch from 9d7698c to 6999cf2 Compare August 21, 2026 16:49
@mentaljam
mentaljam force-pushed the feat/rust-inline-feature branch from 6999cf2 to 3a05899 Compare August 21, 2026 20:20
@mentaljam
mentaljam marked this pull request as ready for review August 21, 2026 20:25
@mentaljam
mentaljam merged commit d567681 into main Aug 21, 2026
12 checks passed
@mentaljam
mentaljam deleted the feat/rust-inline-feature branch August 21, 2026 20:35
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.

1 participant