Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/rust/wast/src/core/binary/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1024 B image not shown  

Quelle  dwarf_disabled.rs

  Sprache: Rust
 

//! Dummy version of dwarf emission that does nothing when the compile-time
//! feature is disabled.

use crate::core::binary::{EncodeOptions, Encoder, Names, RecOrType};
use crate::core::Local;
use crate::token::Span;

pub struct Dwarf<'a> {
    uninhabited: &'a std::convert::Infallible,
}

impl<'a> Dwarf<'a> {
    pub fn new(
        _func_imports: u32,
        _opts: &EncodeOptions<'a>,
        _names: &Names<'a>,
        _types: &'a [RecOrType<'a>],
    ) -> Option<Dwarf<'a>> {
        None
    }

    pub fn start_func(&mut self, _span: Span, _ty: u32, _locals: &[Local<'_>]) {
        match *self.uninhabited {}
    }

    pub fn instr(&mut self, _offset: usize, _span: Span) {
        match *self.uninhabited {}
    }

    pub fn end_func(&mut self, _: usize, _: usize) {
        match *self.uninhabited {}
    }

    pub fn set_code_section_size(&mut self, _size: usize) {
        match *self.uninhabited {}
    }

    pub fn emit(&mut self, _dst: &mut Encoder<'_>) {
        match *self.uninhabited {}
    }
}

Messung V0.5 in Prozent
C=85 H=97 G=91

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet am  2026-06-23) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.