8
Use pointer type in AtomicPtr::swap implementation
source link: https://github.com/rust-lang/rust/pull/80236
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Collaborator
rust-log-analyzer commented 9 days ago
The job x86_64-gnu-llvm-9
failed! Check out the build log: (web) (plain)
Compiling hashbrown v0.9.0
Compiling object v0.22.0
Compiling miniz_oxide v0.4.0
Compiling addr2line v0.14.0
error[E0511]: invalid monomorphization of `atomic_xchg` intrinsic: expected basic integer type, found `*mut ()`
|
|
2417 | SeqCst => intrinsics::atomic_xchg(dst, val),
error[E0511]: invalid monomorphization of `atomic_xchg_acqrel` intrinsic: expected basic integer type, found `*mut ()`
|
|
2415 | AcqRel => intrinsics::atomic_xchg_acqrel(dst, val),
error[E0511]: invalid monomorphization of `atomic_xchg_acq` intrinsic: expected basic integer type, found `*mut ()`
|
|
2413 | Acquire => intrinsics::atomic_xchg_acq(dst, val),
error[E0511]: invalid monomorphization of `atomic_xchg_rel` intrinsic: expected basic integer type, found `*mut ()`
|
|
2414 | Release => intrinsics::atomic_xchg_rel(dst, val),
error[E0511]: invalid monomorphization of `atomic_xchg_relaxed` intrinsic: expected basic integer type, found `*mut ()`
|
|
2416 | Relaxed => intrinsics::atomic_xchg_relaxed(dst, val),
error: aborting due to 5 previous errors
For more information about this error, try `rustc --explain E0511`.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK