summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2019-08-28 20:46:24 -0700
committerThomas Lively <tlively@google.com>2019-08-28 20:46:24 -0700
commitccb0e403ead913a32e73485fef8fcca560409012 (patch)
tree11276c5f9e5c2f2dd9bf11b0b39c5bf4af637131
parent71e47b8dced7c7584b51dbb632db9a337ce45257 (diff)
downloadrust-libc-ccb0e403ead913a32e73485fef8fcca560409012.tar.gz
Update ino_t
-rw-r--r--libc-test/Cargo.toml3
-rw-r--r--src/unix/linux_like/emscripten/mod.rs2
2 files changed, 4 insertions, 1 deletions
diff --git a/libc-test/Cargo.toml b/libc-test/Cargo.toml
index 8d2d903330..87dd7af7df 100644
--- a/libc-test/Cargo.toml
+++ b/libc-test/Cargo.toml
@@ -1,3 +1,6 @@
+[build]
+rustc = "~/code/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustc"
+
[package]
name = "libc-test"
version = "0.1.0"
diff --git a/src/unix/linux_like/emscripten/mod.rs b/src/unix/linux_like/emscripten/mod.rs
index e415f589e2..acce2c1d41 100644
--- a/src/unix/linux_like/emscripten/mod.rs
+++ b/src/unix/linux_like/emscripten/mod.rs
@@ -22,7 +22,7 @@ pub type pthread_key_t = ::c_uint;
pub type clock_t = c_long;
pub type time_t = c_long;
pub type suseconds_t = c_long;
-pub type ino_t = u32;
+pub type ino_t = u64;
pub type off_t = i64;
pub type blkcnt_t = i32;