/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 …]
|
H A D | README.md | 3 This library exports helper Rust types, Rust macros and C FFI bindings for internal QEMU APIs. 11 ## Generate Rust documentation
|
H A D | Cargo.toml | 5 description = "Rust bindings for QEMU" 14 rust-version.workspace = true
|
/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 …]
|
H A D | Cargo.toml | 16 rust-version = "1.77.0" 18 [workspace.lints.rust] 24 # were only introduced in newer Rust compiler versions. Do not croak 29 # Prohibit code that is forbidden in Rust 2024
|
/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 …]
|
/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'])
|
/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
|
H A D | containers.yml | 31 amd64-fedora-rust-nightly-container: 34 NAME: fedora-rust-nightly
|
/qemu/tests/docker/ |
H A D | test-rust | 3 # Run the rust code checks (a.k.a. check-rust-tools-nightly) 18 configure_qemu --disable-user --disable-docs --enable-rust 19 pyvenv/bin/meson devenv -w $QEMU_SRC/rust ${CARGO-cargo} fmt --check
|
/qemu/subprojects/packagefiles/proc-macro-error-attr-1-rs/ |
H A D | meson.build | 1 project('proc-macro-error-attr-1-rs', 'rust', 13 rust = import('rust') variable 14 _proc_macro_error_attr_rs = rust.proc_macro(
|
/qemu/subprojects/packagefiles/bilge-impl-0.2-rs/ |
H A D | meson.build | 1 project('bilge-impl-0.2-rs', 'rust', 21 rust = import('rust') variable 23 _bilge_impl_rs = rust.proc_macro(
|
/qemu/rust/qemu-api/src/ |
H A D | error.rs | 3 //! Error propagation for QEMU Rust code 5 //! This module contains [`Error`], the bridge between Rust errors and 10 //! the Rust ([`Result<>`](std::result::Result)) and C (`Error**`) conventions: 20 //! This module is most commonly used at the boundary between C and Rust code; 23 //! [`std::error::Error`] interface to let C errors participate in Rust's error 26 //! Rust code can also create use this module to create an error object that 29 //! simple error string, from an [`anyhow::Error`] to pass any other Rust error 150 /// checked further at the Rust↔C boundary. 165 /// checked further at the Rust↔C boundary. 185 /// checked further at the Rust↔C boundary. [all …]
|
/qemu/subprojects/packagefiles/anyhow-1-rs/ |
H A D | meson.build | 1 project('anyhow-1-rs', 'rust', 7 rustc = meson.get_compiler('rust') 24 rust_abi: 'rust',
|
/qemu/docs/system/devices/ |
H A D | vhost-user.rst | 36 - See https://github.com/rust-vmm/vhost-device 42 - See https://github.com/rust-vmm/vhost-device 51 - See https://github.com/rust-vmm/vhost-device 54 - See https://github.com/rust-vmm/vhost-device/staging 60 - See https://github.com/rust-vmm/vhost-device
|
/qemu/ |
H A D | configure | 259 rust="disabled" 787 --rust-target-triple=*) rust_target_triple="$optarg" 791 --enable-rust) rust=enabled 793 --disable-rust) rust=disabled 897 --rustc=RUSTC use Rust compiler RUSTC [$rustc] 909 --rust-target-triple=TRIPLE compilation target for Rust code [autodetect] 1185 # detect rust triple 1188 if test "$rust" != disabled && ! version_ge "$meson_version" 1.8.1; then 1189 if test "$rust" = enabled; then 1190 error_exit "Rust support needs Meson 1.8.1 or newer" [all …]
|
H A D | .gitattributes | 5 *.rs diff=rust 6 *.rs.inc diff=rust
|
/qemu/rust/hw/timer/hpet/ |
H A D | meson.build | 5 rust_abi: 'rust', 15 # them when compiling the root per-target static rust lib.
|
H A D | Cargo.toml | 5 description = "IA-PC High Precision Event Timer emulation in Rust" 11 rust-version.workspace = true
|
/qemu/rust/qemu-api-macros/ |
H A D | Cargo.toml | 5 description = "Rust bindings for QEMU - Utility macros" 13 rust-version.workspace = true
|
/qemu/rust/hw/char/pl011/ |
H A D | meson.build | 5 rust_abi: 'rust', 18 # them when compiling the root per-target static rust lib.
|
/qemu/subprojects/packagefiles/arbitrary-int-1-rs/ |
H A D | meson.build | 1 project('arbitrary-int-1-rs', 'rust', 13 rust_abi: 'rust',
|
/qemu/subprojects/packagefiles/unicode-ident-1-rs/ |
H A D | meson.build | 1 project('unicode-ident-1-rs', 'rust', 12 rust_abi: 'rust',
|
/qemu/subprojects/packagefiles/either-1-rs/ |
H A D | meson.build | 1 project('either-1-rs', 'rust', 12 rust_abi: 'rust',
|
/qemu/subprojects/packagefiles/foreign-0.3-rs/ |
H A D | meson.build | 1 project('foreign-0.3-rs', 'rust', 15 rust_abi: 'rust',
|