Crates.io | msvc-alloca |
lib.rs | msvc-alloca |
version | 0.3.0 |
source | src |
created_at | 2024-01-10 20:44:07.363126 |
updated_at | 2024-02-08 23:01:50.430328 |
description | Provides MSVC's _alloca for the most bare metal of bare metal projects. |
homepage | |
repository | https://github.com/danbugs/msvc-alloca |
max_upload_size | |
id | 1095572 |
size | 37,385 |
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/
.