Skip to content

Comments

refactor(cactus-sys): clean up build.rs for readability and upstream portability#4112

Merged
yujonglee merged 1 commit intomainfrom
refactor/cactus-sys-cleanup
Feb 20, 2026
Merged

refactor(cactus-sys): clean up build.rs for readability and upstream portability#4112
yujonglee merged 1 commit intomainfrom
refactor/cactus-sys-cleanup

Conversation

@yujonglee
Copy link
Contributor

Summary

  • Refactors crates/cactus-sys/build.rs for readability and upstream portability
  • Cleans up crates/cactus-sys/src/lib.rs

Made with Cursor

…portability

- Extract monolithic main() into focused helper functions
- Use &Path instead of &PathBuf in all function signatures
- Add CACTUS_SOURCE_DIR env var override via char_workspace_fallback() pattern,
  making the workspace-specific path easy to identify and remove when moving upstream
- Consolidate #[cfg]-gated platform logic into top-level functions
- Group allow attributes in src/lib.rs into a single directive

Co-authored-by: Cursor <cursoragent@cursor.com>
@netlify
Copy link

netlify bot commented Feb 20, 2026

Deploy Preview for hyprnote ready!

Name Link
🔨 Latest commit 61eddb4
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/6997bfee2fe9b300085544d0
😎 Deploy Preview https://deploy-preview-4112--hyprnote.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 20, 2026

Deploy Preview for hyprnote-storybook ready!

Name Link
🔨 Latest commit 61eddb4
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/6997bfeec6837f000977c01f
😎 Deploy Preview https://deploy-preview-4112--hyprnote-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@yujonglee yujonglee merged commit 7bfe001 into main Feb 20, 2026
15 checks passed
@yujonglee yujonglee deleted the refactor/cactus-sys-cleanup branch February 20, 2026 02:15
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