@@ -130,42 +130,42 @@ mod test {
130130 #[ cfg_attr( test, assert_instr( irg) ) ]
131131 #[ allow( dead_code) ]
132132 #[ 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 ( ) {
134134 __arm_mte_create_random_tag ( src, mask)
135135 }
136136
137137 #[ cfg_attr( test, assert_instr( addg) ) ]
138138 #[ allow( dead_code) ]
139139 #[ 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 ( ) {
141141 __arm_mte_increment_tag :: < 1 , _ > ( src)
142142 }
143143
144144 #[ cfg_attr( test, assert_instr( gmi) ) ]
145145 #[ allow( dead_code) ]
146146 #[ 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 {
148148 __arm_mte_exclude_tag ( src, excluded)
149149 }
150150
151151 #[ cfg_attr( test, assert_instr( stg) ) ]
152152 #[ allow( dead_code) ]
153153 #[ target_feature( enable = "mte" ) ]
154- pub unsafe fn __test_set_tag ( src : * const ( ) ) {
154+ unsafe fn test_arm_mte_set_tag ( src : * const ( ) ) {
155155 __arm_mte_set_tag ( src)
156156 }
157157
158158 #[ cfg_attr( test, assert_instr( ldg) ) ]
159159 #[ allow( dead_code) ]
160160 #[ 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 ( ) {
162162 __arm_mte_get_tag ( src)
163163 }
164164
165165 #[ cfg_attr( test, assert_instr( subp) ) ]
166166 #[ allow( dead_code) ]
167167 #[ 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 {
169169 __arm_mte_ptrdiff ( a, b)
170170 }
171171}
0 commit comments