Skip to content

Commit ade18a5

Browse files
committed
Autogenerate the add/sub tests
1 parent ed89a17 commit ade18a5

9 files changed

+548
-0
lines changed

build.rs

+484
Large diffs are not rendered by default.

tests/i128_add.rs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#![feature(compiler_builtins_lib)]
2+
#![feature(i128_type)]
3+
#![cfg_attr(all(target_arch = "arm",
4+
not(any(target_env = "gnu", target_env = "musl")),
5+
target_os = "linux",
6+
test), no_std)]
7+
8+
include!(concat!(env!("OUT_DIR"), "/i128_add.rs"));

tests/i128_addo.rs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#![feature(compiler_builtins_lib)]
2+
#![feature(i128_type)]
3+
#![cfg_attr(all(target_arch = "arm",
4+
not(any(target_env = "gnu", target_env = "musl")),
5+
target_os = "linux",
6+
test), no_std)]
7+
8+
include!(concat!(env!("OUT_DIR"), "/i128_addo.rs"));

tests/i128_sub.rs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#![feature(compiler_builtins_lib)]
2+
#![feature(i128_type)]
3+
#![cfg_attr(all(target_arch = "arm",
4+
not(any(target_env = "gnu", target_env = "musl")),
5+
target_os = "linux",
6+
test), no_std)]
7+
8+
include!(concat!(env!("OUT_DIR"), "/i128_sub.rs"));

tests/i128_subo.rs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#![feature(compiler_builtins_lib)]
2+
#![feature(i128_type)]
3+
#![cfg_attr(all(target_arch = "arm",
4+
not(any(target_env = "gnu", target_env = "musl")),
5+
target_os = "linux",
6+
test), no_std)]
7+
8+
include!(concat!(env!("OUT_DIR"), "/i128_subo.rs"));

tests/u128_add.rs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#![feature(compiler_builtins_lib)]
2+
#![feature(i128_type)]
3+
#![cfg_attr(all(target_arch = "arm",
4+
not(any(target_env = "gnu", target_env = "musl")),
5+
target_os = "linux",
6+
test), no_std)]
7+
8+
include!(concat!(env!("OUT_DIR"), "/u128_add.rs"));

tests/u128_addo.rs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#![feature(compiler_builtins_lib)]
2+
#![feature(i128_type)]
3+
#![cfg_attr(all(target_arch = "arm",
4+
not(any(target_env = "gnu", target_env = "musl")),
5+
target_os = "linux",
6+
test), no_std)]
7+
8+
include!(concat!(env!("OUT_DIR"), "/u128_addo.rs"));

tests/u128_sub.rs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#![feature(compiler_builtins_lib)]
2+
#![feature(i128_type)]
3+
#![cfg_attr(all(target_arch = "arm",
4+
not(any(target_env = "gnu", target_env = "musl")),
5+
target_os = "linux",
6+
test), no_std)]
7+
8+
include!(concat!(env!("OUT_DIR"), "/u128_sub.rs"));

tests/u128_subo.rs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#![feature(compiler_builtins_lib)]
2+
#![feature(i128_type)]
3+
#![cfg_attr(all(target_arch = "arm",
4+
not(any(target_env = "gnu", target_env = "musl")),
5+
target_os = "linux",
6+
test), no_std)]
7+
8+
include!(concat!(env!("OUT_DIR"), "/u128_subo.rs"));

0 commit comments

Comments
 (0)