Build custom libgc

This commit is contained in:
Yota Toyama
2019-04-26 03:31:56 +00:00
parent 9a689d5c00
commit cea904e618
13 changed files with 184 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ struct GcStackBase {
reg_base: *const c_void,
}
#[link(name = "gc")]
#[link(name = "gc", kind = "static")]
extern "C" {
fn GC_allow_register_threads() -> c_void;
fn GC_free(ptr: *mut c_void);