Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/python/mozboot/mozboot/test/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 835 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, "r"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=90 H=100 G=95

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-06-04) ¤

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