libfringe/Cargo.toml
whitequark ebd9ca8dec Allocate guard page under existing stack, not in it.
This fixes a segfault when the allocated stack is just one page long.

This also refactors the fringe::os module to use Result consistently.

close #22
2016-07-16 20:54:33 -04:00

31 lines
575 B
TOML

[package]
authors = ["edef <edef@edef.eu>"]
name = "fringe"
version = "0.0.1"
[target.'cfg(unix)'.dependencies]
libc = "0.2.14"
[target.'cfg(windows)'.dependencies]
kernel32-sys = "0.2.2"
winapi = "0.2.6"
[dependencies.valgrind]
optional = true
git = "https://github.com/edef1c/libvalgrind"
rev = "9ef793e9549aabfd2d969615180b69d29ce28d88"
[dev-dependencies]
simd = "0.1"
[features]
default = ["valgrind"]
# These apply only to tests within this library; assembly at -O0 is completely
# unreadable, so use -O1.
[profile.dev]
opt-level = 1
[profile.test]
opt-level = 1