!44 rust for openEuler
Merge Pull Request from: @zhengzengkai This set of patches backport rust for Linux feature. Provide a rust runtime environment in the kernel and support subsystems such as modules, device drivers, and networks. Some examples are also provided. [Testing] To easliy check whether the requirements are met Make LLVM=1 rustavailable Read Documentation/rust/quick-start.rst for a quick start. CONFIG: CONFIG_RUST CONFIG_SAMPLES_RUST CONFIG_SAMPLE_RUST_CHRDEV .... Supported platforms: x86_64 and ARM64 Link:https://gitee.com/openeuler/kernel/pulls/44 Reviewed-by: Xie XiuQi <xiexiuqi@huawei.com> Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
Showing
.rustfmt.toml
0 → 100644
Documentation/rust/index.rst
0 → 100644
drivers/gpio/gpio_pl061_rust.rs
0 → 100644
rust/.gitignore
0 → 100644
rust/Makefile
0 → 100644
rust/alloc/README.md
0 → 100644
rust/alloc/alloc.rs
0 → 100644
rust/alloc/borrow.rs
0 → 100644
rust/alloc/boxed.rs
0 → 100644
此差异已折叠。
rust/alloc/boxed/thin.rs
0 → 100644
rust/alloc/collections/mod.rs
0 → 100644
rust/alloc/fmt.rs
0 → 100644
此差异已折叠。
rust/alloc/lib.rs
0 → 100644
rust/alloc/macros.rs
0 → 100644
rust/alloc/raw_vec.rs
0 → 100644
此差异已折叠。
rust/alloc/slice.rs
0 → 100644
此差异已折叠。
rust/alloc/str.rs
0 → 100644
此差异已折叠。
rust/alloc/string.rs
0 → 100644
此差异已折叠。
rust/alloc/vec/drain.rs
0 → 100644
rust/alloc/vec/drain_filter.rs
0 → 100644
此差异已折叠。
rust/alloc/vec/into_iter.rs
0 → 100644
此差异已折叠。
rust/alloc/vec/is_zero.rs
0 → 100644
此差异已折叠。
rust/alloc/vec/mod.rs
0 → 100644
此差异已折叠。
rust/alloc/vec/partial_eq.rs
0 → 100644
此差异已折叠。
rust/alloc/vec/set_len_on_drop.rs
0 → 100644
rust/alloc/vec/spec_extend.rs
0 → 100644
此差异已折叠。
rust/bindgen_parameters
0 → 100644
此差异已折叠。
rust/build_error.rs
0 → 100644
此差异已折叠。
rust/compiler_builtins.rs
0 → 100644
此差异已折叠。
rust/exports.c
0 → 100644
此差异已折叠。
rust/helpers.c
0 → 100644
此差异已折叠。
rust/kernel/allocator.rs
0 → 100644
此差异已折叠。
rust/kernel/amba.rs
0 → 100644
此差异已折叠。
rust/kernel/bindings.rs
0 → 100644
此差异已折叠。
rust/kernel/bindings_helper.h
0 → 100644
此差异已折叠。
rust/kernel/build_assert.rs
0 → 100644
此差异已折叠。
rust/kernel/c_types.rs
0 → 100644
此差异已折叠。
rust/kernel/chrdev.rs
0 → 100644
此差异已折叠。
rust/kernel/clk.rs
0 → 100644
此差异已折叠。
rust/kernel/cred.rs
0 → 100644
此差异已折叠。
rust/kernel/device.rs
0 → 100644
此差异已折叠。
rust/kernel/driver.rs
0 → 100644
此差异已折叠。
rust/kernel/error.rs
0 → 100644
此差异已折叠。
rust/kernel/file.rs
0 → 100644
此差异已折叠。
rust/kernel/gpio.rs
0 → 100644
此差异已折叠。
rust/kernel/hwrng.rs
0 → 100644
此差异已折叠。
rust/kernel/io_buffer.rs
0 → 100644
此差异已折叠。
rust/kernel/io_mem.rs
0 → 100644
此差异已折叠。
rust/kernel/iov_iter.rs
0 → 100644
此差异已折叠。
rust/kernel/irq.rs
0 → 100644
此差异已折叠。
rust/kernel/kasync.rs
0 → 100644
rust/kernel/kasync/net.rs
0 → 100644
此差异已折叠。
rust/kernel/kunit.rs
0 → 100644
此差异已折叠。
rust/kernel/lib.rs
0 → 100644
此差异已折叠。
rust/kernel/linked_list.rs
0 → 100644
此差异已折叠。
rust/kernel/miscdev.rs
0 → 100644
此差异已折叠。
rust/kernel/mm.rs
0 → 100644
此差异已折叠。
rust/kernel/module_param.rs
0 → 100644
此差异已折叠。
rust/kernel/net.rs
0 → 100644
此差异已折叠。
rust/kernel/net/filter.rs
0 → 100644
此差异已折叠。
rust/kernel/of.rs
0 → 100644
此差异已折叠。
rust/kernel/pages.rs
0 → 100644
此差异已折叠。
rust/kernel/platform.rs
0 → 100644
此差异已折叠。
rust/kernel/power.rs
0 → 100644
此差异已折叠。
rust/kernel/prelude.rs
0 → 100644
此差异已折叠。
rust/kernel/print.rs
0 → 100644
此差异已折叠。
rust/kernel/random.rs
0 → 100644
此差异已折叠。
rust/kernel/raw_list.rs
0 → 100644
此差异已折叠。
rust/kernel/rbtree.rs
0 → 100644
此差异已折叠。
rust/kernel/revocable.rs
0 → 100644
此差异已折叠。
rust/kernel/security.rs
0 → 100644
此差异已折叠。
rust/kernel/static_assert.rs
0 → 100644
此差异已折叠。
rust/kernel/std_vendor.rs
0 → 100644
此差异已折叠。
rust/kernel/str.rs
0 → 100644
此差异已折叠。
rust/kernel/sync.rs
0 → 100644
此差异已折叠。
rust/kernel/sync/arc.rs
0 → 100644
此差异已折叠。
rust/kernel/sync/condvar.rs
0 → 100644
此差异已折叠。
rust/kernel/sync/guard.rs
0 → 100644
此差异已折叠。
rust/kernel/sync/locked_by.rs
0 → 100644
此差异已折叠。
rust/kernel/sync/mutex.rs
0 → 100644
此差异已折叠。
rust/kernel/sync/nowait.rs
0 → 100644
此差异已折叠。
rust/kernel/sync/revocable.rs
0 → 100644
此差异已折叠。
rust/kernel/sync/rwsem.rs
0 → 100644
此差异已折叠。
rust/kernel/sync/seqlock.rs
0 → 100644
此差异已折叠。
rust/kernel/sync/smutex.rs
0 → 100644
此差异已折叠。
rust/kernel/sync/spinlock.rs
0 → 100644
此差异已折叠。
rust/kernel/sysctl.rs
0 → 100644
此差异已折叠。
rust/kernel/task.rs
0 → 100644
此差异已折叠。
rust/kernel/types.rs
0 → 100644
此差异已折叠。
rust/kernel/user_ptr.rs
0 → 100644
此差异已折叠。
rust/macros/helpers.rs
0 → 100644
此差异已折叠。
rust/macros/lib.rs
0 → 100644
此差异已折叠。
rust/macros/module.rs
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
samples/rust/Kconfig
0 → 100644
此差异已折叠。
samples/rust/Makefile
0 → 100644
此差异已折叠。
samples/rust/hostprogs/.gitignore
0 → 100644
此差异已折叠。
samples/rust/hostprogs/Makefile
0 → 100644
此差异已折叠。
samples/rust/hostprogs/a.rs
0 → 100644
此差异已折叠。
samples/rust/hostprogs/b.rs
0 → 100644
此差异已折叠。
samples/rust/hostprogs/single.rs
0 → 100644
此差异已折叠。
samples/rust/rust_chrdev.rs
0 → 100644
此差异已折叠。
samples/rust/rust_minimal.rs
0 → 100644
此差异已折叠。
samples/rust/rust_miscdev.rs
0 → 100644
此差异已折叠。
此差异已折叠。
samples/rust/rust_netfilter.rs
0 → 100644
此差异已折叠。
samples/rust/rust_platform.rs
0 → 100644
此差异已折叠。
samples/rust/rust_print.rs
0 → 100644
此差异已折叠。
samples/rust/rust_random.rs
0 → 100644
此差异已折叠。
samples/rust/rust_semaphore.rs
0 → 100644
此差异已折叠。
samples/rust/rust_semaphore_c.c
0 → 100644
此差异已折叠。
此差异已折叠。
samples/rust/rust_sync.rs
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
scripts/cc-version.sh
0 → 100755
此差异已折叠。
此差异已折叠。
scripts/generate_rust_analyzer.py
0 → 100755
此差异已折叠。
scripts/generate_rust_target.rs
0 → 100644
此差异已折叠。
scripts/is_rust_module.sh
0 → 100755
此差异已折叠。
此差异已折叠。
scripts/min-tool-version.sh
0 → 100755
此差异已折叠。
此差异已折叠。
scripts/rust-is-available.sh
0 → 100755
此差异已折叠。
scripts/rustdoc_test_builder.py
0 → 100755
此差异已折叠。
scripts/rustdoc_test_gen.py
0 → 100755
此差异已折叠。
想要评论请 注册 或 登录