Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
a491d458
R
Rust
项目概览
int
/
Rust
11 个月 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
Rust
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
a491d458
编写于
7月 08, 2022
作者:
T
Tamir Duberstein
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update integer_atomics tracking issue
Updates #32976. Updates #99069.
上级
6ec3993e
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
40 addition
and
40 deletion
+40
-40
compiler/rustc_codegen_cranelift/patches/0027-sysroot-128bit-atomic-operations.patch
...elift/patches/0027-sysroot-128bit-atomic-operations.patch
+16
-16
library/core/src/panic/unwind_safe.rs
library/core/src/panic/unwind_safe.rs
+2
-2
library/core/src/sync/atomic.rs
library/core/src/sync/atomic.rs
+22
-22
未找到文件。
compiler/rustc_codegen_cranelift/patches/0027-sysroot-128bit-atomic-operations.patch
浏览文件 @
a491d458
...
...
@@ -19,7 +19,7 @@ index 092b7cf..158cf71 100644
#[stable(feature = "integer_atomics_stable", since = "1.34.0")]
impl RefUnwindSafe for crate::sync::atomic::AtomicI64 {}
-#[cfg(target_has_atomic_load_store = "128")]
-#[unstable(feature = "integer_atomics", issue = "
32976
")]
-#[unstable(feature = "integer_atomics", issue = "
99069
")]
-impl RefUnwindSafe for crate::sync::atomic::AtomicI128 {}
#[cfg(target_has_atomic_load_store = "ptr")]
...
...
@@ -29,7 +29,7 @@ index 092b7cf..158cf71 100644
#[stable(feature = "integer_atomics_stable", since = "1.34.0")]
impl RefUnwindSafe for crate::sync::atomic::AtomicU64 {}
-#[cfg(target_has_atomic_load_store = "128")]
-#[unstable(feature = "integer_atomics", issue = "
32976
")]
-#[unstable(feature = "integer_atomics", issue = "
99069
")]
-impl RefUnwindSafe for crate::sync::atomic::AtomicU128 {}
#[cfg(target_has_atomic_load_store = "8")]
...
...
@@ -46,14 +46,14 @@ index d9de37e..8293fce 100644
-atomic_int! {
- cfg(target_has_atomic = "128"),
- cfg(target_has_atomic_equal_alignment = "128"),
- unstable(feature = "integer_atomics", issue = "
32976
"),
- unstable(feature = "integer_atomics", issue = "
32976
"),
- unstable(feature = "integer_atomics", issue = "
32976
"),
- unstable(feature = "integer_atomics", issue = "
32976
"),
- unstable(feature = "integer_atomics", issue = "
32976
"),
- unstable(feature = "integer_atomics", issue = "
32976
"),
- unstable(feature = "integer_atomics", issue = "
99069
"),
- unstable(feature = "integer_atomics", issue = "
99069
"),
- unstable(feature = "integer_atomics", issue = "
99069
"),
- unstable(feature = "integer_atomics", issue = "
99069
"),
- unstable(feature = "integer_atomics", issue = "
99069
"),
- unstable(feature = "integer_atomics", issue = "
99069
"),
- rustc_const_stable(feature = "const_integer_atomics", since = "1.34.0"),
- unstable(feature = "integer_atomics", issue = "
32976
"),
- unstable(feature = "integer_atomics", issue = "
99069
"),
- cfg_attr(not(test), rustc_diagnostic_item = "AtomicI128"),
- "i128",
- "#![feature(integer_atomics)]\n\n",
...
...
@@ -66,14 +66,14 @@ index d9de37e..8293fce 100644
-atomic_int! {
- cfg(target_has_atomic = "128"),
- cfg(target_has_atomic_equal_alignment = "128"),
- unstable(feature = "integer_atomics", issue = "
32976
"),
- unstable(feature = "integer_atomics", issue = "
32976
"),
- unstable(feature = "integer_atomics", issue = "
32976
"),
- unstable(feature = "integer_atomics", issue = "
32976
"),
- unstable(feature = "integer_atomics", issue = "
32976
"),
- unstable(feature = "integer_atomics", issue = "
32976
"),
- unstable(feature = "integer_atomics", issue = "
99069
"),
- unstable(feature = "integer_atomics", issue = "
99069
"),
- unstable(feature = "integer_atomics", issue = "
99069
"),
- unstable(feature = "integer_atomics", issue = "
99069
"),
- unstable(feature = "integer_atomics", issue = "
99069
"),
- unstable(feature = "integer_atomics", issue = "
99069
"),
- rustc_const_stable(feature = "const_integer_atomics", since = "1.34.0"),
- unstable(feature = "integer_atomics", issue = "
32976
"),
- unstable(feature = "integer_atomics", issue = "
99069
"),
- cfg_attr(not(test), rustc_diagnostic_item = "AtomicU128"),
- "u128",
- "#![feature(integer_atomics)]\n\n",
...
...
library/core/src/panic/unwind_safe.rs
浏览文件 @
a491d458
...
...
@@ -217,7 +217,7 @@ impl RefUnwindSafe for crate::sync::atomic::AtomicI32 {}
#[stable(feature
=
"integer_atomics_stable"
,
since
=
"1.34.0"
)]
impl
RefUnwindSafe
for
crate
::
sync
::
atomic
::
AtomicI64
{}
#[cfg(target_has_atomic_load_store
=
"128"
)]
#[unstable(feature
=
"integer_atomics"
,
issue
=
"
32976
"
)]
#[unstable(feature
=
"integer_atomics"
,
issue
=
"
99069
"
)]
impl
RefUnwindSafe
for
crate
::
sync
::
atomic
::
AtomicI128
{}
#[cfg(target_has_atomic_load_store
=
"ptr"
)]
...
...
@@ -236,7 +236,7 @@ impl RefUnwindSafe for crate::sync::atomic::AtomicU32 {}
#[stable(feature
=
"integer_atomics_stable"
,
since
=
"1.34.0"
)]
impl
RefUnwindSafe
for
crate
::
sync
::
atomic
::
AtomicU64
{}
#[cfg(target_has_atomic_load_store
=
"128"
)]
#[unstable(feature
=
"integer_atomics"
,
issue
=
"
32976
"
)]
#[unstable(feature
=
"integer_atomics"
,
issue
=
"
99069
"
)]
impl
RefUnwindSafe
for
crate
::
sync
::
atomic
::
AtomicU128
{}
#[cfg(target_has_atomic_load_store
=
"8"
)]
...
...
library/core/src/sync/atomic.rs
浏览文件 @
a491d458
...
...
@@ -2308,7 +2308,7 @@ pub fn as_mut_ptr(&self) -> *mut $int_type {
stable
(
feature
=
"integer_atomics_stable"
,
since
=
"1.34.0"
),
stable
(
feature
=
"integer_atomics_stable"
,
since
=
"1.34.0"
),
rustc_const_stable
(
feature
=
"const_integer_atomics"
,
since
=
"1.34.0"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
cfg_attr
(
not
(
test
),
rustc_diagnostic_item
=
"AtomicI8"
),
"i8"
,
""
,
...
...
@@ -2328,7 +2328,7 @@ pub fn as_mut_ptr(&self) -> *mut $int_type {
stable
(
feature
=
"integer_atomics_stable"
,
since
=
"1.34.0"
),
stable
(
feature
=
"integer_atomics_stable"
,
since
=
"1.34.0"
),
rustc_const_stable
(
feature
=
"const_integer_atomics"
,
since
=
"1.34.0"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
cfg_attr
(
not
(
test
),
rustc_diagnostic_item
=
"AtomicU8"
),
"u8"
,
""
,
...
...
@@ -2348,7 +2348,7 @@ pub fn as_mut_ptr(&self) -> *mut $int_type {
stable
(
feature
=
"integer_atomics_stable"
,
since
=
"1.34.0"
),
stable
(
feature
=
"integer_atomics_stable"
,
since
=
"1.34.0"
),
rustc_const_stable
(
feature
=
"const_integer_atomics"
,
since
=
"1.34.0"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
cfg_attr
(
not
(
test
),
rustc_diagnostic_item
=
"AtomicI16"
),
"i16"
,
""
,
...
...
@@ -2368,7 +2368,7 @@ pub fn as_mut_ptr(&self) -> *mut $int_type {
stable
(
feature
=
"integer_atomics_stable"
,
since
=
"1.34.0"
),
stable
(
feature
=
"integer_atomics_stable"
,
since
=
"1.34.0"
),
rustc_const_stable
(
feature
=
"const_integer_atomics"
,
since
=
"1.34.0"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
cfg_attr
(
not
(
test
),
rustc_diagnostic_item
=
"AtomicU16"
),
"u16"
,
""
,
...
...
@@ -2388,7 +2388,7 @@ pub fn as_mut_ptr(&self) -> *mut $int_type {
stable
(
feature
=
"integer_atomics_stable"
,
since
=
"1.34.0"
),
stable
(
feature
=
"integer_atomics_stable"
,
since
=
"1.34.0"
),
rustc_const_stable
(
feature
=
"const_integer_atomics"
,
since
=
"1.34.0"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
cfg_attr
(
not
(
test
),
rustc_diagnostic_item
=
"AtomicI32"
),
"i32"
,
""
,
...
...
@@ -2408,7 +2408,7 @@ pub fn as_mut_ptr(&self) -> *mut $int_type {
stable
(
feature
=
"integer_atomics_stable"
,
since
=
"1.34.0"
),
stable
(
feature
=
"integer_atomics_stable"
,
since
=
"1.34.0"
),
rustc_const_stable
(
feature
=
"const_integer_atomics"
,
since
=
"1.34.0"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
cfg_attr
(
not
(
test
),
rustc_diagnostic_item
=
"AtomicU32"
),
"u32"
,
""
,
...
...
@@ -2428,7 +2428,7 @@ pub fn as_mut_ptr(&self) -> *mut $int_type {
stable
(
feature
=
"integer_atomics_stable"
,
since
=
"1.34.0"
),
stable
(
feature
=
"integer_atomics_stable"
,
since
=
"1.34.0"
),
rustc_const_stable
(
feature
=
"const_integer_atomics"
,
since
=
"1.34.0"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
cfg_attr
(
not
(
test
),
rustc_diagnostic_item
=
"AtomicI64"
),
"i64"
,
""
,
...
...
@@ -2448,7 +2448,7 @@ pub fn as_mut_ptr(&self) -> *mut $int_type {
stable
(
feature
=
"integer_atomics_stable"
,
since
=
"1.34.0"
),
stable
(
feature
=
"integer_atomics_stable"
,
since
=
"1.34.0"
),
rustc_const_stable
(
feature
=
"const_integer_atomics"
,
since
=
"1.34.0"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
cfg_attr
(
not
(
test
),
rustc_diagnostic_item
=
"AtomicU64"
),
"u64"
,
""
,
...
...
@@ -2461,14 +2461,14 @@ pub fn as_mut_ptr(&self) -> *mut $int_type {
atomic_int!
{
cfg
(
target_has_atomic
=
"128"
),
cfg
(
target_has_atomic_equal_alignment
=
"128"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
rustc_const_stable
(
feature
=
"const_integer_atomics"
,
since
=
"1.34.0"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
cfg_attr
(
not
(
test
),
rustc_diagnostic_item
=
"AtomicI128"
),
"i128"
,
"#![feature(integer_atomics)]
\n\n
"
,
...
...
@@ -2481,14 +2481,14 @@ pub fn as_mut_ptr(&self) -> *mut $int_type {
atomic_int!
{
cfg
(
target_has_atomic
=
"128"
),
cfg
(
target_has_atomic_equal_alignment
=
"128"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
rustc_const_stable
(
feature
=
"const_integer_atomics"
,
since
=
"1.34.0"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
32976
"
),
unstable
(
feature
=
"integer_atomics"
,
issue
=
"
99069
"
),
cfg_attr
(
not
(
test
),
rustc_diagnostic_item
=
"AtomicU128"
),
"u128"
,
"#![feature(integer_atomics)]
\n\n
"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录