Browse Source

Update Cargo.toml

Jeremy Soller 8 years ago
parent
commit
0b092068ec
1 changed files with 3 additions and 3 deletions
  1. 3 3
      shim/Cargo.toml

+ 3 - 3
shim/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "ralloc_shim"
-version = "0.1.1"
+version = "0.1.2"
 authors = ["Jeremy Soller <jackpot51@gmail.com>", "Ticki"]
 
 [profile.release]
@@ -12,8 +12,8 @@ lto = true
 debug-assertions = false
 codegen-units = 1
 
-[target.'cfg(not(redox))'.dependencies]
+[target.'cfg(not(target_os = "redox"))'.dependencies]
 libc = { version = "0.2", default-features = false }
 
-[target.'cfg(redox)'.dependencies]
+[target.'cfg(target_os = "redox")'.dependencies]
 redox_syscall = { git = "https://github.com/redox-os/syscall.git" }