#msvc #allocation #stack #dynamic #alloca #bare-metal

msvc-alloca

Provides MSVC's _alloca for the most bare metal of bare metal projects

3 releases (breaking)

0.3.0 Feb 8, 2024
0.2.0 Feb 8, 2024
0.1.0 Jan 10, 2024

#997 in Embedded development

33 downloads per month

AGPL-3.0

14KB

msvc-alloca

This crate provides a safe-ish wrapper around the MSVC _alloca function.

This is similar to alloca-rs, but the main difference is that we compile our alloca wrapper with /GS-, which disables stack protection and enables it to link with a /SUBSYSTEM:NATIVE//KERNEL//DRIVER binary.

For example usage, check out example/.

No runtime deps

~225KB