[package] name = "rust" version = "1.86.0" description = "Rust programming language toolchain" url = "https://www.rust-lang.org/" license = "MIT/Apache-2.0" [source] url = "https://static.rust-lang.org/dist/rustc-${version}-src.tar.xz" sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [dependencies] run = ["glibc", "gcc", "zlib", "openssl", "curl"] build = ["python", "cmake", "ninja", "pkg-config"] [build] system = "custom" configure = """./configure --prefix=/usr --sysconfdir=/etc --tools=cargo,clippy,rustfmt --enable-vendor --set build.docs=false --set install.docdir=share/doc/rustc-${version}""" make = """python3 x.py build""" install = """DESTDIR=${PKG} python3 x.py install"""