Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/python/mozboot/mozboot/test/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 830 B image not shown  

Quelle  test_msrv.py

  Sprache: Python
 

# 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/.

import os
import unittest

import toml
from buildconfig import topsrcdir
from mozunit import main

from mozboot.util import MINIMUM_RUST_VERSION


class TestMSRV(unittest.TestCase):
    def test_msrv(self):
        """Ensure MSRV in mozboot and top-level Config.toml match."""

        cargo_toml = os.path.join(topsrcdir, "Cargo.toml")
        with open(cargo_toml) as f:
            content = toml.load(f)
        workspace = content.get("workspace", {})
        rust_version = workspace.get("package", {}).get("rust-version")
        self.assertEqual(MINIMUM_RUST_VERSION, rust_version)


if __name__ == "__main__":
    main()

Messung V0.5 in Prozent
C=92 H=87 G=89

¤ Dauer der Verarbeitung: 0.16 Sekunden  (vorverarbeitet am  2026-08-25) ¤

*© 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.