aboutsummaryrefslogtreecommitdiff
path: root/examples/03.urandom
diff options
context:
space:
mode:
authorpravic <[email protected]>2016-04-16 00:46:29 +0300
committerpravic <[email protected]>2016-04-16 00:46:29 +0300
commit419308de54870bb2c7ebab4ac7d178aac0adb254 (patch)
treeae66f5048fd52d57b319162e493fbbe9b03f7001 /examples/03.urandom
parent`fn main` is required when building with `--target target.json` (diff)
downloadwinapi-kmd-rs-419308de54870bb2c7ebab4ac7d178aac0adb254.tar.xz
winapi-kmd-rs-419308de54870bb2c7ebab4ac7d178aac0adb254.zip
simplify build: remove links from toml and provide path to the libs via single build.rs
Diffstat (limited to 'examples/03.urandom')
-rw-r--r--examples/03.urandom/Cargo.toml3
-rw-r--r--examples/03.urandom/build.rs1
2 files changed, 1 insertions, 3 deletions
diff --git a/examples/03.urandom/Cargo.toml b/examples/03.urandom/Cargo.toml
index 8b45bdf..f41fc36 100644
--- a/examples/03.urandom/Cargo.toml
+++ b/examples/03.urandom/Cargo.toml
@@ -5,8 +5,7 @@ version = "0.1.0"
authors = ["pravic <[email protected]>"]
readme = "../README.md"
-build = "build.rs"
-links = "ntoskrnl"
+build = "../build.rs"
[lib]
path = "driver.rs"
diff --git a/examples/03.urandom/build.rs b/examples/03.urandom/build.rs
deleted file mode 100644
index f328e4d..0000000
--- a/examples/03.urandom/build.rs
+++ /dev/null
@@ -1 +0,0 @@
-fn main() {}