Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/toolkit/crashreporter/client/app/src/std/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 876 B image not shown  

Quelle  mod.rs   Sprache: unbekannt

 
Spracherkennung für: .rs vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

//! Standard library wrapper (for mocking in tests).
//!
//! In general this should always be used rather than `std` directly, and _especially_ when using
//! `std` functions and types which interact with the runtime host environment.
//!
//! Note that, in some cases, this wrapper extends the `std` library. Notably, the [`mock`] module
//! adds mocking functions.

#![cfg_attr(mock, allow(unused))]

pub use std::*;

#[cfg_attr(not(mock), path = "mock_stub.rs")]
pub mod mock;

#[cfg(mock)]
pub mod env;
#[cfg(mock)]
pub mod fs;
#[cfg(mock)]
pub mod net;
#[cfg(mock)]
pub mod path;
#[cfg(mock)]
pub mod process;
#[cfg(mock)]
pub mod thread;
#[cfg(mock)]
pub mod time;

[ Dauer der Verarbeitung: 0.30 Sekunden  ]