Skip to content

Experimental usage of alloca in Rust (Not for real use)

License

Notifications You must be signed in to change notification settings

TheDan64/scoped_alloca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scoped_alloca

Requires clang and ar to be installed on your system

Drawbacks

Only works in release mode (--release) at the moment. Debug doesn't seem to enable the features necessary for inlining the alloca wrapper (but maybe we can have them enabled in debug?) Only confirmed to work in rustc 1.26; older versions without LTO optimizations may not work at all (even in release mode)

About

Experimental usage of alloca in Rust (Not for real use)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published