Skip to content

Commit 9c4f6c4

Browse files
committed
Auto merge of #1093 - jabedude:acct, r=alexcrichton
Add acct(2) to BSD module The `acct` syscall is supported on BSD platforms, the PR aims to add it to the BSD module.
2 parents 41944d5 + 70c178d commit 9c4f6c4

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ matrix:
6969
RUSTFLAGS=-Clink-arg=-mios-simulator-version-min=7.0
7070
before_install:
7171
rustc ./ci/ios/deploy_and_run_on_ios_simulator.rs -o $HOME/runtest
72-
- env: TARGET=x86_64-rumprun-netbsd
7372
- env: TARGET=powerpc-unknown-linux-gnu
7473
- env: TARGET=powerpc64-unknown-linux-gnu
7574
- env: TARGET=powerpc64le-unknown-linux-gnu

src/unix/bsd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,7 @@ extern {
543543
attr: *const ::pthread_attr_t,
544544
f: extern fn(*mut ::c_void) -> *mut ::c_void,
545545
value: *mut ::c_void) -> ::c_int;
546+
pub fn acct(filename: *const ::c_char) -> ::c_int;
546547
}
547548

548549
cfg_if! {

0 commit comments

Comments
 (0)