Skip to content

Commit 1f30625

Browse files
committed
Add modules
1 parent bc60e51 commit 1f30625

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

rules/signal/tgt_unsafe.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
// Copyright (c) 2022-present INESC-ID.
22
// Distributed under the MIT license that can be found in the LICENSE file.
33

4-
unsafe fn f1(
5-
a0: i32,
6-
a1: *const ::libc::sigaction,
7-
a2: *mut ::libc::sigaction,
8-
) -> i32 {
4+
unsafe fn f1(a0: i32, a1: *const ::libc::sigaction, a2: *mut ::libc::sigaction) -> i32 {
95
libc::sigaction(a0, a1, a2)
106
}

rules/src/modules.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,16 @@ pub mod iostream_tgt_unsafe;
5252
pub mod ip_tgt_unsafe;
5353
#[path = r#"../limits/tgt_unsafe.rs"#]
5454
pub mod limits_tgt_unsafe;
55+
#[path = r#"../locale/tgt_unsafe.rs"#]
56+
pub mod locale_tgt_unsafe;
5557
#[path = r#"../map/tgt_refcount.rs"#]
5658
pub mod map_tgt_refcount;
5759
#[path = r#"../map/tgt_unsafe.rs"#]
5860
pub mod map_tgt_unsafe;
5961
#[path = r#"../math/tgt_unsafe.rs"#]
6062
pub mod math_tgt_unsafe;
63+
#[path = r#"../netdb/tgt_unsafe.rs"#]
64+
pub mod netdb_tgt_unsafe;
6165
#[path = r#"../pair/tgt_refcount.rs"#]
6266
pub mod pair_tgt_refcount;
6367
#[path = r#"../pair/tgt_unsafe.rs"#]
@@ -66,6 +70,10 @@ pub mod pair_tgt_unsafe;
6670
pub mod poll_tgt_unsafe;
6771
#[path = r#"../select/tgt_unsafe.rs"#]
6872
pub mod select_tgt_unsafe;
73+
#[path = r#"../pwd/tgt_unsafe.rs"#]
74+
pub mod pwd_tgt_unsafe;
75+
#[path = r#"../signal/tgt_unsafe.rs"#]
76+
pub mod signal_tgt_unsafe;
6977
#[path = r#"../socket/tgt_unsafe.rs"#]
7078
pub mod socket_tgt_unsafe;
7179
#[path = r#"../stat/tgt_unsafe.rs"#]
@@ -78,6 +86,8 @@ pub mod stdio_tgt_unsafe;
7886
pub mod string_tgt_refcount;
7987
#[path = r#"../string/tgt_unsafe.rs"#]
8088
pub mod string_tgt_unsafe;
89+
#[path = r#"../termios/tgt_unsafe.rs"#]
90+
pub mod termios_tgt_unsafe;
8191
#[path = r#"../unique_ptr/tgt_refcount.rs"#]
8292
pub mod unique_ptr_tgt_refcount;
8393
#[path = r#"../unique_ptr/tgt_unsafe.rs"#]

0 commit comments

Comments
 (0)