starnix_types/
lib.rs

1// Copyright 2024 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5pub mod arch;
6pub mod augmented;
7pub mod convert;
8pub mod futex_address;
9pub mod math;
10pub mod ownership;
11pub mod stats;
12pub mod string;
13pub mod thread_start_info;
14pub mod time;
15pub mod user_buffer;
16pub mod vfs;
17
18mod errors;
19
20use std::sync::LazyLock;
21
22pub static PAGE_SIZE: LazyLock<u64> = LazyLock::new(|| zx::system_get_page_size() as u64);