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
afa3edf8
Commit
afa3edf8
authored
5 years ago
by
gnzlbg
Browse files
Options
Downloads
Patches
Plain Diff
Deprecates fixed-width integer type aliases
Closes #1304 .
parent
a0865265
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/fixed_width_ints.rs
+32
-0
32 additions, 0 deletions
src/fixed_width_ints.rs
with
32 additions
and
0 deletions
src/fixed_width_ints.rs
+
32
−
0
View file @
afa3edf8
...
...
@@ -2,11 +2,43 @@
//!
//! These aliases are deprecated: use the Rust types instead.
#[deprecated(
since
=
"0.2.55"
,
note
=
"Use i8 instead."
)]
pub
type
int8_t
=
i8
;
#[deprecated(
since
=
"0.2.55"
,
note
=
"Use i16 instead."
)]
pub
type
int16_t
=
i16
;
#[deprecated(
since
=
"0.2.55"
,
note
=
"Use i32 instead."
)]
pub
type
int32_t
=
i32
;
#[deprecated(
since
=
"0.2.55"
,
note
=
"Use i64 instead."
)]
pub
type
int64_t
=
i64
;
#[deprecated(
since
=
"0.2.55"
,
note
=
"Use u8 instead."
)]
pub
type
uint8_t
=
u8
;
#[deprecated(
since
=
"0.2.55"
,
note
=
"Use u16 instead."
)]
pub
type
uint16_t
=
u16
;
#[deprecated(
since
=
"0.2.55"
,
note
=
"Use u32 instead."
)]
pub
type
uint32_t
=
u32
;
#[deprecated(
since
=
"0.2.55"
,
note
=
"Use u64 instead."
)]
pub
type
uint64_t
=
u64
;
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