Home
last modified time | relevance | path

Searched refs:rust_version (Results 1 – 4 of 4) sorted by relevance

/external/toolchain-utils/rust_tools/
Drust_uprev.py230 def prepare_uprev(rust_version: RustVersion, template: Optional[RustVersion]
240 if rust_version <= template_version:
243 rust_version, template_version)
344 def update_rust_packages(rust_version: RustVersion, add: bool) -> None:
426 def upload_to_localmirror(tempdir: str, rust_version: RustVersion,
490 def create_rust_uprev(rust_version: RustVersion,
494 'parse stage0 file', lambda: parse_stage0_file(rust_version))
497 lambda: prepare_uprev(rust_version, maybe_template_version),
503 run_step('copy patches', lambda: copy_patches(template_version, rust_version))
505 'create ebuild', lambda: create_ebuild(template_ebuild, rust_version))
[all …]
Drust_uprev_test.py63 rust_version=self.version_new, template=self.version_old)
75 rust_version=self.version_old, template=self.version_new)
86 rust_version=self.version_new, template=None)
96 ret = rust_uprev.prepare_uprev(rust_version=self.version_old, template=None)
344 rust_version = rust_uprev.RustVersion(1, 2, 3)
345 actual = rust_uprev.parse_stage0_file(rust_version)
/external/rust/crates/rustversion/patches/
Dversion.diff12 +fn rust_version() -> Version {
28 + if expr.eval(rust_version()) {
37 + if !args.condition.eval(rust_version()) {
/external/rust/crates/rustversion/src/
Dlib.rs170 fn rust_version() -> Version { in rust_version() function
238 if expr.eval(rust_version()) { in try_cfg()
253 if !args.condition.eval(rust_version()) { in try_attr()