2023-12-19 12:29:47 -06:00
|
|
|
#[cfg_attr(windows, link(name = "library.dll.lib", modifiers = "+verbatim"))]
|
|
|
|
#[cfg_attr(not(windows), link(name = "library"))]
|
2020-09-01 16:12:52 -05:00
|
|
|
extern "C" {
|
2017-06-16 22:42:56 -05:00
|
|
|
fn overflow();
|
|
|
|
}
|
|
|
|
|
2016-12-29 22:28:11 -06:00
|
|
|
fn main() {
|
2017-06-16 22:42:56 -05:00
|
|
|
unsafe { overflow() }
|
2016-12-29 22:28:11 -06:00
|
|
|
}
|