Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
felixmoebius
libc
Commits
ebeab042
Commit
ebeab042
authored
8 years ago
by
bors
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Auto merge of #426 - alexcrichton:s390x, r=alexcrichton
Fix the build on s390x
parents
53d09616
8a9d8c2c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+1
-1
1 addition, 1 deletion
.travis.yml
src/lib.rs
+3
-0
3 additions, 0 deletions
src/lib.rs
src/unix/notbsd/linux/s390x.rs
+14
-0
14 additions, 0 deletions
src/unix/notbsd/linux/s390x.rs
with
18 additions
and
1 deletion
.travis.yml
+
1
−
1
View file @
ebeab042
...
...
@@ -33,7 +33,7 @@ matrix:
# build documentation
-
os
:
linux
env
:
TARGET=x86_64-unknown-linux-gnu
rust
:
stable
rust
:
nightly
script
:
sh ci/dox.sh
# stable compat
...
...
This diff is collapsed.
Click to expand it.
src/lib.rs
+
3
−
0
View file @
ebeab042
...
...
@@ -33,6 +33,9 @@
#![cfg_attr(all(target_os
=
"linux"
,
target_arch
=
"aarch64"
),
doc(
html_root_url
=
"https://doc.rust-lang.org/libc/aarch64-unknown-linux-gnu"
))]
#![cfg_attr(all(target_os
=
"linux"
,
target_arch
=
"s390x"
),
doc(
html_root_url
=
"https://doc.rust-lang.org/libc/s390x-unknown-linux-gnu"
))]
#![cfg_attr(all(target_os
=
"linux"
,
target_env
=
"musl"
),
doc(
html_root_url
=
"https://doc.rust-lang.org/libc/x86_64-unknown-linux-musl"
))]
...
...
This diff is collapsed.
Click to expand it.
src/unix/notbsd/linux/s390x.rs
+
14
−
0
View file @
ebeab042
...
...
@@ -233,6 +233,20 @@ s! {
pub
uc_mcontext
:
mcontext_t
,
pub
uc_sigmask
:
::
sigset_t
,
}
pub
struct
msqid_ds
{
pub
msg_perm
:
::
ipc_perm
,
pub
msg_stime
:
::
time_t
,
pub
msg_rtime
:
::
time_t
,
pub
msg_ctime
:
::
time_t
,
__msg_cbytes
:
::
c_ulong
,
pub
msg_qnum
:
::
msgqnum_t
,
pub
msg_qbytes
:
::
msglen_t
,
pub
msg_lspid
:
::
pid_t
,
pub
msg_lrpid
:
::
pid_t
,
__glibc_reserved4
:
::
c_ulong
,
__glibc_reserved5
:
::
c_ulong
,
}
}
pub
const
POSIX_FADV_DONTNEED
:
::
c_int
=
6
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment