Crates.io | link_args |
lib.rs | link_args |
version | 0.6.0 |
source | src |
created_at | 2021-03-24 19:18:00.087036 |
updated_at | 2021-03-29 16:41:44.522672 |
description | Allows setting linker arugments at compile time without a build script. Currently only supports Windows MSVC toolchains. |
homepage | |
repository | https://github.com/ChrisDenton/link_args |
max_upload_size | |
id | 373028 |
size | 21,340 |
Allows setting linker arugments at compile time without a build script. Currently only supports Windows MSVC toolchains.
Minimum Rust version: 1.51
Add this to your Cargo.toml
:
[dependencies]
link_args = "0.6"
// Reserve 8 MiB for the stack.
link_args::windows_msvc::stack_size!(0x800000);
link_args::windows_msvc::default_lib!("kernel32.lib");