Sha256: 617cd75e79e0e20f664db764a4dc2a396d9fd11a4d95371acd91ed4811293b11

Contents?: true

Size: 1.14 KB

Versions: 30

Compression:

Stored size: 1.14 KB

Contents

// From psABI Calling Convention for RV64
pub type c_char = u8;
pub type __u64 = ::c_ulonglong;
pub type wchar_t = i32;

pub type nlink_t = ::c_ulong;
pub type blksize_t = ::c_long;

pub type stat64 = stat;
s! {
    pub struct stat {
        pub st_dev: ::dev_t,
        pub st_ino: ::ino_t,
        pub st_nlink: ::nlink_t,
        pub st_mode: ::mode_t,
        pub st_uid: ::uid_t,
        pub st_gid: ::gid_t,
        __pad0: ::c_int,
        pub st_rdev: ::dev_t,
        pub st_size: ::off_t,
        pub st_blksize: ::blksize_t,
        pub st_blocks: ::blkcnt_t,
        pub st_atime: ::time_t,
        pub st_atime_nsec: ::c_long,
        pub st_mtime: ::time_t,
        pub st_mtime_nsec: ::c_long,
        pub st_ctime: ::time_t,
        pub st_ctime_nsec: ::c_long,
        __unused: [::c_long; 3],
    }

    // Not actually used, IPC calls just return ENOSYS
    pub struct ipc_perm {
        pub __ipc_perm_key: ::key_t,
        pub uid: ::uid_t,
        pub gid: ::gid_t,
        pub cuid: ::uid_t,
        pub cgid: ::gid_t,
        pub mode: ::mode_t,
        pub __seq: ::c_ushort,
        __unused1: ::c_ulong,
        __unused2: ::c_ulong,
    }
}

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
wasmtime-27.0.0 ./ext/cargo-vendor/libc-0.2.164/src/fuchsia/riscv64.rs
wasmtime-26.0.0 ./ext/cargo-vendor/libc-0.2.161/src/fuchsia/riscv64.rs
wasmtime-25.0.2 ./ext/cargo-vendor/libc-0.2.158/src/fuchsia/riscv64.rs
wasmtime-25.0.1 ./ext/cargo-vendor/libc-0.2.158/src/fuchsia/riscv64.rs
wasmtime-25.0.0 ./ext/cargo-vendor/libc-0.2.158/src/fuchsia/riscv64.rs
wasmtime-24.0.0 ./ext/cargo-vendor/libc-0.2.158/src/fuchsia/riscv64.rs
wasmtime-23.0.2 ./ext/cargo-vendor/libc-0.2.154/src/fuchsia/riscv64.rs
wasmtime-22.0.0 ./ext/cargo-vendor/libc-0.2.154/src/fuchsia/riscv64.rs
wasmtime-21.0.1 ./ext/cargo-vendor/libc-0.2.154/src/fuchsia/riscv64.rs
wasmtime-20.0.2 ./ext/cargo-vendor/libc-0.2.154/src/fuchsia/riscv64.rs
wasmtime-20.0.0 ./ext/cargo-vendor/libc-0.2.154/src/fuchsia/riscv64.rs
wasmtime-18.0.3 ./ext/cargo-vendor/libc-0.2.152/src/fuchsia/riscv64.rs
wasmtime-17.0.1 ./ext/cargo-vendor/libc-0.2.152/src/fuchsia/riscv64.rs
wasmtime-17.0.0 ./ext/cargo-vendor/libc-0.2.152/src/fuchsia/riscv64.rs
wasmtime-16.0.0 ./ext/cargo-vendor/libc-0.2.152/src/fuchsia/riscv64.rs
wasmtime-15.0.1 ./ext/cargo-vendor/libc-0.2.152/src/fuchsia/riscv64.rs
wasmtime-15.0.0 ./ext/cargo-vendor/libc-0.2.152/src/fuchsia/riscv64.rs
wasmtime-14.0.4 ./ext/cargo-vendor/libc-0.2.149/src/fuchsia/riscv64.rs
wasmtime-14.0.3 ./ext/cargo-vendor/libc-0.2.149/src/fuchsia/riscv64.rs
wasmtime-14.0.1 ./ext/cargo-vendor/libc-0.2.149/src/fuchsia/riscv64.rs