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
07a0190b
Commit
07a0190b
authored
8 years ago
by
Jonathan A. Kollasch
Browse files
Options
Downloads
Patches
Plain Diff
Recognize 32-bit NetBSD
parent
09ba9f73
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/unix/bsd/netbsdlike/netbsd/other/b32/mod.rs
+2
-0
2 additions, 0 deletions
src/unix/bsd/netbsdlike/netbsd/other/b32/mod.rs
src/unix/bsd/netbsdlike/netbsd/other/mod.rs
+5
-0
5 additions, 0 deletions
src/unix/bsd/netbsdlike/netbsd/other/mod.rs
with
7 additions
and
0 deletions
src/unix/bsd/netbsdlike/netbsd/other/b32/mod.rs
0 → 100644
+
2
−
0
View file @
07a0190b
pub
type
c_long
=
i32
;
pub
type
c_ulong
=
u32
;
This diff is collapsed.
Click to expand it.
src/unix/bsd/netbsdlike/netbsd/other/mod.rs
+
5
−
0
View file @
07a0190b
...
...
@@ -2,6 +2,11 @@ cfg_if! {
if
#[cfg(target_arch
=
"x86_64"
)]
{
mod
b64
;
pub
use
self
::
b64
::
*
;
}
else
if
#[cfg(any(target_arch
=
"arm"
,
target_arch
=
"powerpc"
,
target_arch
=
"x86"
))]
{
mod
b32
;
pub
use
self
::
b32
::
*
;
}
else
{
// Unknown target_arch
}
...
...
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