Added PLT for C trampolnine.

Fortune for stackalloc's current commit: Curse − 凶
master
Avril 3 years ago
parent 3a42d22081
commit be0bc7b612
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -1,6 +1,6 @@
[package] [package]
name = "stackalloc" name = "stackalloc"
version = "1.1.1" version = "1.1.2"
homepage = "https://git.flanchan.moe/flanchan/stackalloc-rs" homepage = "https://git.flanchan.moe/flanchan/stackalloc-rs"
repository = "https://github.com/notflan/stackalloc-rs" repository = "https://github.com/notflan/stackalloc-rs"
keywords = ["alloca", "stack", "stack-allocation", "safe"] keywords = ["alloca", "stack", "stack-allocation", "safe"]

@ -16,7 +16,7 @@ fn build_tramp()
// Not sure if we want these two. We can check the codegen later. // Not sure if we want these two. We can check the codegen later.
// .pic(false) // .pic(false)
.use_plt(false) // .use_plt(false)
.file("alloca_trampoline_.c") .file("alloca_trampoline_.c")
.compile("calloca_trampoline"); .compile("calloca_trampoline");

Loading…
Cancel
Save