Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
syscall
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
redox-os
syscall
Commits
ee9a9236
Verified
Commit
ee9a9236
authored
Jan 11, 2021
by
Jeremy Soller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.2.4 - use correct arch when target_os is none
parent
3dc594c1
Pipeline
#8950
failed with stages
in 2 minutes and 40 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Cargo.toml
Cargo.toml
+1
-1
src/lib.rs
src/lib.rs
+5
-5
No files found.
Cargo.toml
View file @
ee9a9236
[package]
name
=
"redox_syscall"
version
=
"0.2.
3
"
version
=
"0.2.
4
"
description
=
"A Rust library to access raw Redox system calls"
license
=
"MIT"
authors
=
[
"Jeremy Soller <jackpot51@gmail.com>"
]
...
...
src/lib.rs
View file @
ee9a9236
...
...
@@ -15,23 +15,23 @@ pub use self::io::*;
pub
use
self
::
number
::
*
;
pub
use
self
::
scheme
::
*
;
#[cfg(all(
target_os
=
"redox"
,
target_arch
=
"arm"
))]
#[cfg(all(
any(target_os
=
"none"
,
target_os
=
"redox"
)
,
target_arch
=
"arm"
))]
#[path=
"arch/arm.rs"
]
mod
arch
;
#[cfg(all(
target_os
=
"redox"
,
target_arch
=
"aarch64"
))]
#[cfg(all(
any(target_os
=
"none"
,
target_os
=
"redox"
)
,
target_arch
=
"aarch64"
))]
#[path=
"arch/aarch64.rs"
]
mod
arch
;
#[cfg(all(
target_os
=
"redox"
,
target_arch
=
"x86"
))]
#[cfg(all(
any(target_os
=
"none"
,
target_os
=
"redox"
)
,
target_arch
=
"x86"
))]
#[path=
"arch/x86.rs"
]
mod
arch
;
#[cfg(all(
target_os
=
"redox"
,
target_arch
=
"x86_64"
))]
#[cfg(all(
any(target_os
=
"none"
,
target_os
=
"redox"
)
,
target_arch
=
"x86_64"
))]
#[path=
"arch/x86_64.rs"
]
mod
arch
;
#[cfg(not(
target_os
=
"redox"
))]
#[cfg(not(
any(target_os
=
"none"
,
target_os
=
"redox"
)
))]
#[path=
"arch/nonredox.rs"
]
mod
arch
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment