Skip to content

Commit b78197a

Browse files
committed
don't use removed const_raw_ptr_to_usize_cast feature
1 parent b2c8611 commit b78197a

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

c2rust-transpile/src/translator/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2752,7 +2752,6 @@ impl<'c> Translation<'c> {
27522752
if is_static && !pointee.qualifiers.is_const {
27532753
let mut qtype = pointee;
27542754
qtype.qualifiers.is_const = true;
2755-
self.use_feature("const_raw_ptr_to_usize_cast");
27562755
let ty_ = self
27572756
.type_converter
27582757
.borrow_mut()

tests/statics/src/test_sections.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//! feature_const_raw_ptr_to_usize_cast
21
extern crate libc;
32

43
#[cfg(not(target_os = "macos"))]

0 commit comments

Comments
 (0)