Skip to content

Commit c1b61af

Browse files
committed
Add modules
1 parent 2d326c7 commit c1b61af

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,16 +52,24 @@ 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"#]
6468
pub mod pair_tgt_unsafe;
69+
#[path = r#"../pwd/tgt_unsafe.rs"#]
70+
pub mod pwd_tgt_unsafe;
71+
#[path = r#"../signal/tgt_unsafe.rs"#]
72+
pub mod signal_tgt_unsafe;
6573
#[path = r#"../socket/tgt_unsafe.rs"#]
6674
pub mod socket_tgt_unsafe;
6775
#[path = r#"../stdio/tgt_refcount.rs"#]
@@ -72,6 +80,8 @@ pub mod stdio_tgt_unsafe;
7280
pub mod string_tgt_refcount;
7381
#[path = r#"../string/tgt_unsafe.rs"#]
7482
pub mod string_tgt_unsafe;
83+
#[path = r#"../termios/tgt_unsafe.rs"#]
84+
pub mod termios_tgt_unsafe;
7585
#[path = r#"../unique_ptr/tgt_refcount.rs"#]
7686
pub mod unique_ptr_tgt_refcount;
7787
#[path = r#"../unique_ptr/tgt_unsafe.rs"#]

0 commit comments

Comments
 (0)