Skip to content

fix: "use of undeclared crate or module alloc" error on aarch64 when std feature is enabled#202

Merged
s1341 merged 1 commit into
frida:mainfrom
0x5457:fix/aarch64-writer-alloc-import
May 5, 2025
Merged

fix: "use of undeclared crate or module alloc" error on aarch64 when std feature is enabled#202
s1341 merged 1 commit into
frida:mainfrom
0x5457:fix/aarch64-writer-alloc-import

Conversation

@0x5457

@0x5457 0x5457 commented Apr 3, 2025

Copy link
Copy Markdown
Contributor

Added #[cfg(not(feature = "std"))] attribute to conditionally import alloc::vec::Vec

ensures that Vec is only imported when the 'std' feature is not enabled

…port alloc::vec::Vec

- This change ensures that Vec is only imported when the 'std' feature is not enabled
@s1341 s1341 merged commit 8a33cbd into frida:main May 5, 2025
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.

2 participants