File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
crates/intrinsic-test/src Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ fn json_to_intrinsic(
7979) -> Result < Intrinsic < ArmIntrinsicType > , Box < dyn std:: error:: Error > > {
8080 let name = intr. name . replace ( [ '[' , ']' ] , "" ) ;
8181
82- let results = ArmIntrinsicType :: from_c ( & intr. return_type . value , target) ?;
82+ let results = ArmIntrinsicType :: from_c ( & intr. return_type . value , & target. to_string ( ) ) ?;
8383
8484 let args = intr
8585 . arguments
Original file line number Diff line number Diff line change 8080 let ( ty, var_name) = Self :: type_and_name_from_c ( arg) ;
8181
8282 let ty =
83- T :: from_c ( ty, target) . unwrap_or_else ( |_| panic ! ( "Failed to parse argument '{arg}'" ) ) ;
83+ T :: from_c ( ty, & target. to_string ( ) )
84+ . unwrap_or_else ( |_| panic ! ( "Failed to parse argument '{arg}'" ) ) ;
8485
8586 Argument {
8687 pos,
Original file line number Diff line number Diff line change 1+ mod config;
12mod intrinsic;
23mod types;
34mod xml_parser;
4- mod config;
55
66use crate :: common:: SupportedArchitectureTest ;
77use crate :: common:: cli:: ProcessedCli ;
88use crate :: common:: intrinsic:: { Intrinsic , IntrinsicDefinition } ;
99use crate :: common:: write_file:: { write_c_testfiles, write_rust_testfiles} ;
10+ use config:: build_notices;
1011use intrinsic:: X86IntrinsicType ;
1112use xml_parser:: get_xml_intrinsics;
12- use config:: build_notices;
1313
1414pub struct X86ArchitectureTest {
1515 intrinsics : Vec < Intrinsic < X86IntrinsicType > > ,
You can’t perform that action at this time.
0 commit comments