1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-21 20:27:46 +00:00

Remove build.rs, move linker step to installer file

This commit is contained in:
Joshua Goins 2022-07-21 18:57:57 -04:00
parent e8183b3af6
commit 343e972b7d
2 changed files with 1 additions and 3 deletions

View file

@ -1,3 +0,0 @@
fn main() {
println!("cargo:rustc-link-lib=dylib=unshield");
}

View file

@ -32,6 +32,7 @@ const GAME_COMPONENT_FILES: [&str; 1] = ["ffxivgame.ver"];
#[repr(C)]
struct Unshield;
#[link(name = "unshield")]
extern "C" {
fn unshield_open(filename: *const c_char) -> *mut Unshield;
fn unshield_close(unshield: *mut Unshield);