Skip to content

Commit

Permalink
Fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkassimo authored and ry committed May 1, 2019
1 parent 8104466 commit d75d403
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions build_extra/rust/BUILD.gn
Expand Up @@ -1719,11 +1719,15 @@ rust_crate("utime") {
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/utime-0.2.1/src/lib.rs"

if (is_win) {
extern = [
":winapi",
":kernel32",
extern = [ ":kernel32" ]
extern_version = [
{
crate_name = "winapi"
crate_version = "0.2.8"
},
]
}

if (is_posix) {
extern = [ ":libc" ]
}
Expand Down

0 comments on commit d75d403

Please sign in to comment.