/openbmc/openbmc/poky/meta/recipes-devtools/rust/ |
H A D | rust-llvm_1.85.1.bb | 1 SUMMARY = "LLVM compiler framework (packaged with rust)" 3 HOMEPAGE = "http://www.rust-lang.org" 9 require rust-source.inc 21 DEPENDS += "ninja-native rust-llvm-native" 27 # generated by rust-llvm-native. 54 -DCMAKE_INSTALL_PREFIX:PATH=${libdir}/llvm-rust \ 67 -DLLVM_TABLEGEN=${STAGING_LIBDIR_NATIVE}/llvm-rust/bin/llvm-tblgen \ 68 -DLLVM_CONFIG_PATH=${STAGING_LIBDIR_NATIVE}/llvm-rust/bin/llvm-config \ 73 -DLLVM_TABLEGEN=${STAGING_LIBDIR_NATIVE}/llvm-rust/bin/llvm-tblgen \ 74 -DLLVM_CONFIG_PATH=${STAGING_LIBDIR_NATIVE}/llvm-rust/bin/llvm-config \ [all …]
|
H A D | rust-snapshot.inc | 1 ## This is information on the rust-snapshot (binary) used to build our current release. 2 ## snapshot info is taken from rust/src/stage0 3 ## Rust is self-hosting and bootstraps itself with a pre-built previous version of itself. 10 SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "023f0b6153b23ac0e9686c2ab95bc393ee3e295b166bb36de3b… 15 SRC_URI[rust-std-snapshot-i686.sha256sum] = "e710100be26e742733d445722a37227381f1ec2010664ece85489b… 20 SRC_URI[rust-std-snapshot-loongarch64.sha256sum] = "763b93ca08028a1e63a8a3754ac6118b2659022538e5e33… 25 SRC_URI[rust-std-snapshot-powerpc.sha256sum] = "fdbb75060e59ad59273a8ef11fc2ad61837539686df0e8dfe46… 30 SRC_URI[rust-std-snapshot-powerpc64.sha256sum] = "f2819f8ce1ae41c2c2bcf40fc90d6b1a5d340d3e9558267d4… 35 SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "db731e894cce9973ab2b41109c9097d0fc6a49c0d45a0d3… 40 SRC_URI[rust-std-snapshot-riscv64gc.sha256sum] = "451580f9cdc47eef4efb0986b1960a8f9c4fb0959f81b77eb… [all …]
|
H A D | rust_1.85.1.bb | 1 SUMMARY = "Rust compiler and runtime libaries" 2 HOMEPAGE = "http://www.rust-lang.org" 7 inherit rust 10 DEPENDS += "rust-llvm" 11 # native rust uses cargo/rustc from binary snapshots to bootstrap 13 DEPENDS:append:class-target = " cargo-native rust-native" 14 DEPENDS:append:class-nativesdk = " cargo-native rust-native" 21 PROVIDES:class-native = "virtual/${TARGET_PREFIX}rust" 31 RUST_ALTERNATE_EXE_PATH ?= "${STAGING_LIBDIR}/llvm-rust/bin/llvm-config" 32 RUST_ALTERNATE_EXE_PATH_NATIVE = "${STAGING_LIBDIR_NATIVE}/llvm-rust/bin/llvm-config" [all …]
|
H A D | rust-cross-canadian.inc | 1 SUMMARY = "Rust compiler and runtime libaries (cross-canadian for ${TARGET_ARCH} target)" 2 PN = "rust-cross-canadian-${TRANSLATED_TARGET_ARCH}" 3 CVE_PRODUCT = "rust" 5 inherit rust-target-config 6 inherit rust-common 14 SRC_URI += "file://target-rust-ccld.c" 15 LIC_FILES_CHKSUM = "file://target-rust-ccld.c;md5=af4e0e29f81a34cffe05aa07c89e93e9;endline=7" 32 # Rust requires /usr/lib to contain the libs. 43 # We have a problem as rust sets LD_LIBRARY_PATH and this will break running host 50 outfile="${SYS_BINDIR}/target-rust-ccld" [all …]
|
H A D | README-rust.md | 3 This provides the Rust compiler, tools for building packages (cargo), and 6 ## Building a rust package 8 When building a rust package in bitbake, it's usually easiest to build with 10 rust packages do), then it's especially easy. Otherwise you should probably 17 reproducibility. Once the Rust SDK support is added to oe-core, cargo-bitbake 25 `TARGET_SYS` _must_ be different from `BUILD_SYS`. This is due to the way Rust 27 we use the Yocto triples instead of the native Rust triples. See 28 [Add the ability to provide build flags for the build-script-build #3349](https://github.com/rust-l…
|
H A D | libstd-rs_1.85.1.bb | 1 SUMMARY = "Rust standard libaries" 2 HOMEPAGE = "http://www.rust-lang.org" 7 require rust-source.inc 12 # https://github.com/rust-lang/rust/pull/108865/ 18 CVE_PRODUCT = "rust" 38 # For Rust 1.13.0 and newer
|
H A D | rust-source.inc | 3 SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;name=rust \ 5 file://rust-oe-selftest.patch;patchdir=${RUSTSRC} \ 8 … file://0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch;patchdir=${RUSTSRC} \ 14 SRC_URI[rust.sha256sum] = "b1fbf809efe9f036939401e142631c201a53bcf43ec1696bd9f5290ba236a266" 18 UPSTREAM_CHECK_URI = "https://forge.rust-lang.org/infra/other-installation-methods.html"
|
H A D | cargo_1.85.1.bb | 1 SUMMARY = "Cargo, a package manager for Rust." 14 require rust-source.inc 15 require rust-snapshot.inc 25 …${UNPACKDIR}/rust-snapshot-components/${CARGO_SNAPSHOT}/install.sh --prefix="${WORKDIR}/${CARGO_SN… 27 # are used internally by rust and result in symbol mismatches if we don't 68 # Disabled due to incompatibility with libgit2 0.28.x (https://github.com/rust-lang/git2-rs/issues/… 70 # According to https://github.com/rust-lang/git2-rs/issues/458#issuecomment-522567539, there are no… 82 DEPENDS:append:class-nativesdk = " nativesdk-rust"
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | rust-common.bbclass | 8 inherit rust-target-config 10 # Common variables used by all Rust builds 41 # Responsible for taking Yocto triples and converting it to Rust triples 44 Mangle bitbake's *_SYS into something that rust might support (see 45 rust/mk/cfg/* for a list) 54 arch = oe.rust.arch_to_rust_arch(d.getVar('{}_ARCH'.format(thing))) 56 # Substituting "unknown" when vendor is empty will match rust's standard 57 # targets when building native recipes (including rust-native itself) 82 RUST_BUILD_ARCH = "${@oe.rust.arch_to_rust_arch(d.getVar('BUILD_ARCH'))}" 95 # Rust [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/deqp-runner/deqp-runner/ |
H A D | 0001-cargo-Update-tempfile-to-latest-3.x.patch | 30 source = "registry+https://github.com/rust-lang/crates.io-index" 38 source = "registry+https://github.com/rust-lang/crates.io-index" 50 source = "registry+https://github.com/rust-lang/crates.io-index" 57 source = "registry+https://github.com/rust-lang/crates.io-index" 70 source = "registry+https://github.com/rust-lang/crates.io-index" 82 source = "registry+https://github.com/rust-lang/crates.io-index" 90 source = "registry+https://github.com/rust-lang/crates.io-index" 102 source = "registry+https://github.com/rust-lang/crates.io-index" 117 source = "registry+https://github.com/rust-lang/crates.io-index" 137 source = "registry+https://github.com/rust-lang/crates.io-index" [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/packagegroups/ |
H A D | packagegroup-rust-cross-canadian.bb | 1 SUMMARY = "Host SDK package for Rust cross canadian toolchain" 2 PN = "packagegroup-rust-cross-canadian-${MACHINE}" 8 RUST = "rust-cross-canadian-${TRANSLATED_TARGET_ARCH}" 11 ${@all_multilib_tune_values(d, 'RUST')} \ 16 nativesdk-rust \ 18 nativesdk-rust-tools-clippy \ 19 nativesdk-rust-tools-rustfmt \
|
/openbmc/qemu/rust/qemu-api/ |
H A D | meson.build | 37 # Rust bindings generation with `bindgen` might fail in some cases where the 42 _qemu_api_bindings_inc_rs = rust.bindgen( 80 rust_abi: 'rust', 86 rust.test('rust-qemu-api-tests', _qemu_api_rs, 87 suite: ['unit', 'rust']) 95 rust.doctest('rust-qemu-api-doctests', 97 protocol: 'rust', 99 suite: ['doc', 'rust']) 101 test('rust-qemu-api-integration', 103 'rust-qemu-api-integration', [all …]
|
/openbmc/qemu/rust/bits/ |
H A D | meson.build | 5 rust_abi: 'rust', 11 rust.test('rust-bits-tests', _bits_rs, 12 suite: ['unit', 'rust']) 14 rust.doctest('rust-bits-doctests', _bits_rs, 16 suite: ['doc', 'rust'])
|
/openbmc/qemu/rust/ |
H A D | Cargo.lock | 8 source = "registry+https://github.com/rust-lang/crates.io-index" 14 source = "registry+https://github.com/rust-lang/crates.io-index" 20 source = "registry+https://github.com/rust-lang/crates.io-index" 30 source = "registry+https://github.com/rust-lang/crates.io-index" 50 source = "registry+https://github.com/rust-lang/crates.io-index" 56 source = "registry+https://github.com/rust-lang/crates.io-index" 73 source = "registry+https://github.com/rust-lang/crates.io-index" 82 source = "registry+https://github.com/rust-lang/crates.io-index" 99 source = "registry+https://github.com/rust-lang/crates.io-index" 111 source = "registry+https://github.com/rust-lang/crates.io-index" [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/python/ |
H A D | python3-setuptools-rust_1.11.0.bb | 1 SUMMARY = "Setuptools Rust extension plugin" 2 DESCRIPTION = "setuptools-rust is a plugin for setuptools to build Rust \ 3 Python extensions implemented with PyO3 or rust-cpython.\ 5 Compile and distribute Python extensions written in Rust as easily as if they were written in C." 6 HOMEPAGE = "https://github.com/PyO3/setuptools-rust" 7 BUGTRACKER = "https://github.com/PyO3/setuptools-rust/issues"
|
H A D | python3-maturin_1.8.3.bb | 1 SUMMARY = "Build and publish crates with pyo3, rust-cpython, cffi bindings and rust binaries as pyt… 16 python3-setuptools-rust-native \ 18 python3-setuptools-rust \ 34 rust \
|
/openbmc/openbmc/poky/meta/recipes-devtools/bindgen-cli/ |
H A D | bindgen-cli_0.71.1.bb | 1 SUMMARY = "Automatically generates Rust FFI bindings to C and C++ libraries." 2 HOMEPAGE = "https://rust-lang.github.io/rust-bindgen/" 7 inherit rust cargo cargo-update-recipe-crates 9 SRC_URI += "git://github.com/rust-lang/rust-bindgen.git;protocol=https;branch=main"
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs-128/ |
H A D | 0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patch | 4 Subject: [PATCH] rust.configure: do not try to find a suitable upstream target 11 build/moz.configure/rust.configure | 34 ++---------------------------- 14 diff --git a/build/moz.configure/rust.configure b/build/moz.configure/rust.configure 16 --- a/build/moz.configure/rust.configure 17 +++ b/build/moz.configure/rust.configure 33 - The rust compiler host ({rustc}) is not suitable for the configure host ({configure}). 36 - * Set your configure host to match the rust compiler host by editing your 38 - * Or, install the rust toolchain for {configure}, if supported, by running
|
/openbmc/openbmc/poky/meta/conf/distro/include/ |
H A D | rust_security_flags.inc | 2 SECURITY_CFLAGS:pn-rust-native = "${SECURITY_NO_PIE_CFLAGS}" 3 SECURITY_CFLAGS:pn-rust-cross-${TARGET_ARCH} = "${SECURITY_NO_PIE_CFLAGS}" 4 SECURITY_CFLAGS:pn-rust = "${SECURITY_NO_PIE_CFLAGS}" 5 SECURITY_CFLAGS:pn-rust-llvm = "${SECURITY_NO_PIE_CFLAGS}" 7 SECURITY_LDFLAGS:pn-rust-cross-arm = " -lssp_nonshared -lssp"
|
/openbmc/qemu/docs/devel/ |
H A D | rust.rst | 3 Rust in QEMU 6 Rust in QEMU is a project to enable using the Rust programming language 10 from ``SysBusDevice`` in `*safe*`__ Rust. Later, it may become possible 14 __ https://doc.rust-lang.org/nomicon/meet-safe-and-unsafe.html 16 Building the Rust in QEMU code 19 The Rust in QEMU code is included in the emulators via Meson. Meson 29 comes from the ``rust/Cargo.toml`` workspace file 31 * it is also possible to use ``cargo`` for common Rust-specific coding 36 output directory (typically ``rust/target/``). A vanilla invocation 46 A target for ``rustfmt`` is also declared in ``rust/meson.build``: [all …]
|
/openbmc/openbmc/poky/meta-selftest/recipes-devtools/rust/ |
H A D | rust-c-lib-example-bin_git.bb | 1 DESCRIPTION = "A simple example for C wrapper around a rust library" 2 HOMEPAGE = "https://gitlab.com/fmartinsonsHome/rust-c-lib-example" 7 git://gitlab.com/fmartinsonsHome/rust-c-lib-example.git;branch=main;protocol=https \ 13 DEPENDS = "rust-c-lib-example"
|
/openbmc/qemu/rust/qemu-api-macros/ |
H A D | meson.build | 1 _qemu_api_macros_rs = rust.proc_macro( 21 rust.test('rust-qemu-api-macros-tests', _qemu_api_macros_rs, 22 suite: ['unit', 'rust'])
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | rust.py | 45 recipe = "rust" 48 builddir = get_bb_var("RUSTSRC", "rust") 73 'src/tools/rust-analyzer', 75 'src/tools/rust-installer', 89 'tests/codegen/rust-abi-arch-specific-adjustment.rs', 105 host_sys = get_bb_var("RUST_BUILD_SYS", "rust") 112 tcpath = get_bb_var("TARGET_SYS", "rust") 113 targetsys = get_bb_var("RUST_TARGET_SYS", "rust") 114 rustlibpath = get_bb_var("WORKDIR", "rust") 115 tmpdir = get_bb_var("TMPDIR", "rust") [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/sdk/cases/ |
H A D | rust.py | 26 shutil.copytree(os.path.join(self.tc.sdk_files_dir, "rust/hello"), targetdir) 30 if not self.tc.hasHostPackage("packagegroup-rust-cross-canadian-%s" % machine): 31 …raise unittest.SkipTest("RustCompileTest class: SDK doesn't contain a Rust cross-canadian toolchai… 47 shutil.copytree(os.path.join(self.tc.sdk_files_dir, "rust/hello"), targetdir) 51 if not self.tc.hasHostPackage("packagegroup-rust-cross-canadian-%s" % machine): 52 …raise unittest.SkipTest("RustCompileTest class: SDK doesn't contain a Rust cross-canadian toolchai…
|
/openbmc/qemu/.gitlab-ci.d/ |
H A D | static_checks.yml | 50 check-rust-tools-nightly: 53 image: $CI_REGISTRY_IMAGE/qemu/fedora-rust-nightly:$QEMU_CI_CONTAINER_TAG 56 - section_start test "Running Rust code checks" 58 - pyvenv/bin/meson devenv -w ../rust ${CARGO-cargo} fmt --check 66 - job: build-system-fedora-rust-nightly 72 - rust/target/doc
|