@@ -130,42 +130,42 @@ mod test {
130
130
#[ cfg_attr( test, assert_instr( irg) ) ]
131
131
#[ allow( dead_code) ]
132
132
#[ target_feature( enable = "mte" ) ]
133
- pub unsafe fn __test_create_random_tag ( src : * const ( ) , mask : u64 ) -> * const ( ) {
133
+ unsafe fn test_arm_mte_create_random_tag ( src : * const ( ) , mask : u64 ) -> * const ( ) {
134
134
__arm_mte_create_random_tag ( src, mask)
135
135
}
136
136
137
137
#[ cfg_attr( test, assert_instr( addg) ) ]
138
138
#[ allow( dead_code) ]
139
139
#[ target_feature( enable = "mte" ) ]
140
- pub unsafe fn __test_increment_tag ( src : * const ( ) ) -> * const ( ) {
140
+ unsafe fn test_arm_mte_increment_tag ( src : * const ( ) ) -> * const ( ) {
141
141
__arm_mte_increment_tag :: < 1 , _ > ( src)
142
142
}
143
143
144
144
#[ cfg_attr( test, assert_instr( gmi) ) ]
145
145
#[ allow( dead_code) ]
146
146
#[ target_feature( enable = "mte" ) ]
147
- pub unsafe fn __test_exclude_tag ( src : * const ( ) , excluded : u64 ) -> u64 {
147
+ unsafe fn test_arm_mte_exclude_tag ( src : * const ( ) , excluded : u64 ) -> u64 {
148
148
__arm_mte_exclude_tag ( src, excluded)
149
149
}
150
150
151
151
#[ cfg_attr( test, assert_instr( stg) ) ]
152
152
#[ allow( dead_code) ]
153
153
#[ target_feature( enable = "mte" ) ]
154
- pub unsafe fn __test_set_tag ( src : * const ( ) ) {
154
+ unsafe fn test_arm_mte_set_tag ( src : * const ( ) ) {
155
155
__arm_mte_set_tag ( src)
156
156
}
157
157
158
158
#[ cfg_attr( test, assert_instr( ldg) ) ]
159
159
#[ allow( dead_code) ]
160
160
#[ target_feature( enable = "mte" ) ]
161
- pub unsafe fn __test_get_tag ( src : * const ( ) ) -> * const ( ) {
161
+ unsafe fn test_arm_mte_get_tag ( src : * const ( ) ) -> * const ( ) {
162
162
__arm_mte_get_tag ( src)
163
163
}
164
164
165
165
#[ cfg_attr( test, assert_instr( subp) ) ]
166
166
#[ allow( dead_code) ]
167
167
#[ target_feature( enable = "mte" ) ]
168
- pub unsafe fn __test_ptrdiff ( a : * const ( ) , b : * const ( ) ) -> i64 {
168
+ unsafe fn test_arm_mte_ptrdiff ( a : * const ( ) , b : * const ( ) ) -> i64 {
169
169
__arm_mte_ptrdiff ( a, b)
170
170
}
171
171
}
0 commit comments