Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test support for emscripten targets #610

Closed
wants to merge 22 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
3c6a4f2
Bump ctest to 0.1.3
malbarbo Jun 8, 2017
6324ed9
Add support for emscripten tests
malbarbo Jun 8, 2017
772efe9
Fix c_char and wchar_t for emscripten
malbarbo Jun 8, 2017
0547ddf
Fix rusage and sched_param for emscripten
malbarbo Jun 8, 2017
2ca0849
Fix pthread related definitions for emscripten
malbarbo Jun 8, 2017
084e473
Fix loff_t, ino_t, off_t, blkcnt_t, blksize_t, fsblkcnt_t, fsfilcnt_t…
malbarbo Jun 8, 2017
66c7d05
Fix dev_t, ino64_t, off64_t, blkcnt64_t definitions for emscripten
malbarbo Jun 8, 2017
d87405d
Fix POSIX_MADV_DONTNEED definition for emscripten
malbarbo Jun 8, 2017
cd00492
Enavle travis tests for emscripten
malbarbo Jun 8, 2017
6cd1dd3
Fix style
malbarbo Jun 9, 2017
8f88b6d
Hide output of emsdk installation
malbarbo Jun 9, 2017
4228e72
Change compiler to beta for emscripten (stable is failing)
malbarbo Jun 9, 2017
ef7e8e9
Merge branch 'master' of https://github.com/rust-lang/libc into emscr…
malbarbo Jun 9, 2017
5363161
Fix __SIZEOF_PTHREAD_MUTEX_T for mips
malbarbo Jun 9, 2017
b49cecf
Change compiler to stable for emscripten and skip some functions
malbarbo Jun 9, 2017
bf60a14
Disable wasm-unknown-emscripten tests on travis
malbarbo Jun 9, 2017
80fda85
Remove some functions from emscripten whitelist
malbarbo Jun 13, 2017
a7d5b09
Merge branch 'master' of https://github.com/rust-lang/libc into emscr…
malbarbo Jun 13, 2017
97502e8
Add recent added functions to wasm32 whitelist
malbarbo Jun 13, 2017
f22bfe3
Update emscripten to sdk-1.37.14-64bit
malbarbo Jun 20, 2017
7df3af3
Merge branch 'master' of https://github.com/rust-lang/libc into emscr…
malbarbo Jun 20, 2017
52f1b31
Enable travis tests for wasm32
malbarbo Jun 20, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' of https://github.com/rust-lang/libc into emscr…
…ipten

Conflicts:
	Cargo.lock
	src/unix/notbsd/linux/mips/mod.rs
  • Loading branch information
malbarbo committed Jun 20, 2017
commit 7df3af34ff4cc977fcd10ed5f4eed65ad5ecbb32
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions src/unix/notbsd/linux/mips/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,34 @@ pub type dev_t = u64;
pub type ino64_t = u64;
pub type off64_t = i64;
pub type blkcnt64_t = i64;
pub type fsblkcnt_t = ::c_ulong;
pub type fsfilcnt_t = ::c_ulong;
pub type rlim_t = c_ulong;
pub type __priority_which_t = ::c_uint;

s! {
pub struct glob64_t {
pub gl_pathc: ::size_t,
pub gl_pathv: *mut *mut ::c_char,
pub gl_offs: ::size_t,
pub gl_flags: ::c_int,

__unused1: *mut ::c_void,
__unused2: *mut ::c_void,
__unused3: *mut ::c_void,
__unused4: *mut ::c_void,
__unused5: *mut ::c_void,
}

// FIXME this is actually a union
pub struct sem_t {
#[cfg(target_pointer_width = "32")]
__size: [::c_char; 16],
#[cfg(target_pointer_width = "64")]
__size: [::c_char; 32],
__align: [::c_long; 0],
}
}

pub const CLONE_NEWCGROUP: ::c_int = 0x02000000;

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.