Skip to content

Commit da51f2a

Browse files
Chore: Added SupportedArchitectureTest trait which must be implemented for different architectures.
Next steps: Move the existing ARM-specific implementation into one that fits well with this trait.
1 parent bd0a675 commit da51f2a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/// Architectures must support this trait
2+
/// to be successfully tested.
3+
pub trait SupportedArchitectureTest {
4+
pub fn write_c_file(filename: &str);
5+
6+
pub fn write_rust_file(filename: &str);
7+
8+
pub fn build_c_file(filename: &str);
9+
10+
pub fn build_rust_file(filename: &str);
11+
12+
pub fn read_intrinsic_source_file(filename: &str);
13+
}

0 commit comments

Comments
 (0)