Skip to content

Commit

Permalink
Add link framework block in ffi module
Browse files Browse the repository at this point in the history
This remove usage of build.rs as a result

Also increment version as it could be a breaking change with minimal version not being passed in build.rs
  • Loading branch information
marysaka committed Oct 1, 2022
1 parent 13897f8 commit 2c8a811
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ahv"
version = "0.1.1"
version = "0.2.0"
authors = ["Mary <[email protected]>"]
license = "Apache-2.0 OR MIT"
repository = "https://www.github.com/Thog/ahv.git"
Expand All @@ -10,8 +10,6 @@ keywords = ["hypervisor", "virtualization", "macOS", "apple", "aarch64"]
categories = ["api-bindings", "no-std", "os::macos-apis"]
edition = "2021"

build = "build.rs"

exclude = [
".github"
]
Expand Down
4 changes: 0 additions & 4 deletions build.rs

This file was deleted.

1 change: 1 addition & 0 deletions src/ffi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ pub mod types;

use types::*;

#[link(name = "Hypervisor", kind = "framework")]
extern "C" {

// VM APIs
Expand Down

0 comments on commit 2c8a811

Please sign in to comment.