* [PATCH 1/2] rust: New package.
@ 2019-10-07 18:44 Stefan Schantl
2019-10-07 18:44 ` [PATCH 2/2] suricata: Enable rust support Stefan Schantl
2019-10-08 9:06 ` [PATCH 1/2] rust: New package Michael Tremer
0 siblings, 2 replies; 5+ messages in thread
From: Stefan Schantl @ 2019-10-07 18:44 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 66472 bytes --]
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
config/rootfiles/common/aarch64/rust | 239 ++++++++++++++++++++++++++
config/rootfiles/common/armv5tel/rust | 239 ++++++++++++++++++++++++++
config/rootfiles/common/i586/rust | 239 ++++++++++++++++++++++++++
config/rootfiles/common/x86_64/rust | 239 ++++++++++++++++++++++++++
lfs/rust | 92 ++++++++++
make.sh | 1 +
6 files changed, 1049 insertions(+)
create mode 100644 config/rootfiles/common/aarch64/rust
create mode 100644 config/rootfiles/common/armv5tel/rust
create mode 100644 config/rootfiles/common/i586/rust
create mode 100644 config/rootfiles/common/x86_64/rust
create mode 100644 lfs/rust
diff --git a/config/rootfiles/common/aarch64/rust b/config/rootfiles/common/aarch64/rust
new file mode 100644
index 000000000..176dbe98a
--- /dev/null
+++ b/config/rootfiles/common/aarch64/rust
@@ -0,0 +1,239 @@
+#usr/bin/cargo
+#usr/bin/rust-gdb
+#usr/bin/rust-gdbgui
+#usr/bin/rust-lldb
+#usr/bin/rustc
+#usr/bin/rustdoc
+#usr/etc
+#usr/etc/bash_completion.d
+#usr/etc/bash_completion.d/cargo
+#usr/lib/libLLVM-8-rust-1.37.0-stable.so
+#usr/lib/libarena-ceb2b0be1df82a34.so
+#usr/lib/libfmt_macros-b20970680435d874.so
+#usr/lib/libgraphviz-6134aa2fb7fc0ede.so
+#usr/lib/librustc-3ccb3dbb4a17b1c0.so
+#usr/lib/librustc_allocator-b2da80152b9c838b.so
+#usr/lib/librustc_borrowck-164479080cc8772d.so
+#usr/lib/librustc_codegen_ssa-36e16c2ebd557c5b.so
+#usr/lib/librustc_codegen_utils-a48bae0acacb485e.so
+#usr/lib/librustc_cratesio_shim-d6da3f9ed42f6b5f.so
+#usr/lib/librustc_data_structures-4f5460ff3467bd33.so
+#usr/lib/librustc_driver-1aa233c0fa499347.so
+#usr/lib/librustc_errors-4cd8925058f708b9.so
+#usr/lib/librustc_fs_util-cdf2d4af48a4d8b8.so
+#usr/lib/librustc_incremental-567a4fdbe33af894.so
+#usr/lib/librustc_interface-7691d2a4317831ca.so
+#usr/lib/librustc_lint-ddac0777c9ced2bb.so
+#usr/lib/librustc_macros-f2b013228a70c40f.so
+#usr/lib/librustc_metadata-f289cf194b04b3f9.so
+#usr/lib/librustc_mir-1828c73bde69e33b.so
+#usr/lib/librustc_passes-e0682f28cae48983.so
+#usr/lib/librustc_plugin-6bec8276dde0b5f4.so
+#usr/lib/librustc_privacy-5f93627d6eafe450.so
+#usr/lib/librustc_resolve-2b19d14c3867bf72.so
+#usr/lib/librustc_save_analysis-7c9416ee095cfab0.so
+#usr/lib/librustc_target-0fd4749864b3ce5a.so
+#usr/lib/librustc_traits-051352dbf7a1f21e.so
+#usr/lib/librustc_typeck-732835e10652d8da.so
+#usr/lib/libserialize-8fcbeb7fff90d36a.so
+#usr/lib/libstd-4a76ff35a356aedf.so
+#usr/lib/libsyntax-0268718cca0c4bfe.so
+#usr/lib/libsyntax_ext-d7fa76f0184472a6.so
+#usr/lib/libsyntax_pos-0380da211eff5e9a.so
+#usr/lib/libterm-2651f8b4eed9e86e.so
+#usr/lib/libtest-0127509d2e54a846.so
+#usr/lib/rustlib
+#usr/lib/rustlib/components
+#usr/lib/rustlib/etc
+#usr/lib/rustlib/etc/debugger_pretty_printers_common.py
+#usr/lib/rustlib/etc/gdb_load_rust_pretty_printers.py
+#usr/lib/rustlib/etc/gdb_rust_pretty_printing.py
+#usr/lib/rustlib/etc/lldb_rust_formatters.py
+#usr/lib/rustlib/install.log
+#usr/lib/rustlib/manifest-cargo
+#usr/lib/rustlib/manifest-rust-std-aarch64-unknown-linux-gnu
+#usr/lib/rustlib/manifest-rustc
+#usr/lib/rustlib/rust-installer-version
+#usr/lib/rustlib/uninstall.sh
+#usr/lib/rustlib/aarch64-unknown-linux-gnu
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/bin
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/bin/rust-lld
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/codegen-backends
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-emscripten.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libLLVM-8-rust-1.37.0-stable.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/liballoc-580035dd98451925.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libannotate_snippets-25e8d8701c03547d.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libarena-ceb2b0be1df82a34.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libarrayvec-f106db365d780985.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libatty-740be20e4d7441ff.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libbacktrace-13217ede3d276f16.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libbacktrace-9af89337886e6db6.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libbacktrace_sys-621a9ee22da6caa1.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libbacktrace_sys-fba99e00c4e61492.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libbitflags-4a7d2efbf7a358d0.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libbyteorder-5ff68006fd3fb999.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcc-ce0590f9ba246196.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcfg_if-be7979c57a08057b.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcfg_if-cddc487ade7daaa5.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libchalk_engine-69df11cdcd6bae99.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libchalk_macros-2bf52732ae8243bc.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcompiler_builtins-9fc4b5be2ba5cc19.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcore-8a55a4098920125a.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcrc32fast-fc7bcda202f0f3f7.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcrossbeam_deque-b4b71504b68d8f8b.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcrossbeam_epoch-c664f1a3b4666115.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcrossbeam_utils-63c4319e4aba6512.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libdatafrog-bb049e83d8396896.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libeither-d1a988cc36833269.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libena-baa918d535227ba6.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libenv_logger-ff2b1a6f19a13aac.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libflate2-1c2be25b633e6a65.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libfmt_macros-b20970680435d874.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libgetopts-c729851ce6e3efb2.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libgraphviz-6134aa2fb7fc0ede.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libhashbrown-be9569e4d599746f.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libhumantime-6e5514835e11fb0b.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libindexmap-7f10e194770d6bf3.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libitoa-438f269905bbaa51.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libjemalloc_sys-c8524fc37cd0fe80.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libjobserver-2c75db35ce15b29a.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/liblazy_static-0de2b1545b6973a2.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/liblazy_static-21ff09e0ead00dc9.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/liblibc-2299a069d4067a08.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/liblibc-d6459c4f0817c67c.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/liblock_api-c79d1a6ea5dc7713.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/liblog-18ad11d6dda4e80d.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/liblog_settings-ae8859ad47668e7f.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libmeasureme-327bb21dd04749e8.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libmemmap-954e0d1f2b0db71b.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libmemoffset-62475d073708b865.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libminiz_sys-d07d12e134a38412.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libnodrop-b315aca0ebc7a5b8.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libnum_cpus-f6407c37ef29b71f.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libowning_ref-a0b3d9e1cdab8c89.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libpanic_abort-a956b3d01e3c9a0e.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libpanic_unwind-e11c7b3b3225afe2.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libparking_lot-4b068d99c9e6fdb6.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libparking_lot_core-8c73184e7c1493fe.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libpolonius_engine-e22625b0bbda797a.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libproc_macro-4a29a6c5fe75a875.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libprofiler_builtins-b36e7b6c2d3e00eb.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libpunycode-8955eba3c43f8f2e.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libquick_error-acc678b011452377.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librand-ebc7d1f1ad312180.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librand_chacha-47ba3ac92cc46b2c.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librand_core-c1f44f472e6d23be.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librand_hc-b3cc93a39a881b5b.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librand_isaac-63fbbbd089438d27.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librand_pcg-f16fbddc311ab68e.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librand_xorshift-8cd3bbc8a0d1fb89.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libremove_dir_all-898894399d3dfed9.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librls_data-4a7aa063287c45da.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librls_span-dd90aac9099b76b5.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc-3ccb3dbb4a17b1c0.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_allocator-b2da80152b9c838b.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_apfloat-f178776c0914cec5.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_asan-5a773b1fffe6c751.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_borrowck-164479080cc8772d.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_codegen_ssa-36e16c2ebd557c5b.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_codegen_utils-a48bae0acacb485e.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_cratesio_shim-d6da3f9ed42f6b5f.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_data_structures-4f5460ff3467bd33.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_demangle-546c844e8071bbeb.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_demangle-c571e3698361b498.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_driver-1aa233c0fa499347.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_errors-4cd8925058f708b9.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_fs_util-cdf2d4af48a4d8b8.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_hash-dab039160d1ae7fc.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_incremental-567a4fdbe33af894.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_interface-7691d2a4317831ca.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_lint-ddac0777c9ced2bb.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_lsan-bcfe6f943bf3a3db.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_macros-f2b013228a70c40f.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_metadata-f289cf194b04b3f9.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_mir-1828c73bde69e33b.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_msan-ffd3999f1149534e.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_passes-e0682f28cae48983.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_plugin-6bec8276dde0b5f4.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_privacy-5f93627d6eafe450.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_rayon-45df15d01be9166e.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_rayon_core-bc509e7526aad29c.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_resolve-2b19d14c3867bf72.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_save_analysis-7c9416ee095cfab0.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-47d8845cef2a3bc5.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_std_workspace_core-aee5c24fff305dea.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_target-0fd4749864b3ce5a.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_traits-051352dbf7a1f21e.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_tsan-5af25b139995eaa9.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_typeck-732835e10652d8da.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libryu-919d5311c0fa1780.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libscoped_tls-583a4be451031471.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libscopeguard-b33d2d758306f178.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libserde-2882d0235471e138.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libserde_json-fb3419596e2872d5.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libserialize-8fcbeb7fff90d36a.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libserialize-8fcbeb7fff90d36a.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libsmallvec-a7473e0177aca21a.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libstable_deref_trait-95edcbcd95f82564.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libsyntax-0268718cca0c4bfe.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libsyntax_ext-d7fa76f0184472a6.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libsyntax_pos-0380da211eff5e9a.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libtempfile-03867c2a718d0e3a.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libterm-2651f8b4eed9e86e.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libterm-2651f8b4eed9e86e.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libtermcolor-a7c37dbe6cc8c9b2.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libtest-0127509d2e54a846.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libtest-0127509d2e54a846.so
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libunicode_width-2c3a64b369c398a7.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libunicode_width-e8235f0d435d4737.rlib
+#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libunwind-017511bce73a530c.rlib
+#usr/share/doc/cargo
+#usr/share/doc/cargo/LICENSE-APACHE
+#usr/share/doc/cargo/LICENSE-MIT
+#usr/share/doc/cargo/LICENSE-THIRD-PARTY
+#usr/share/doc/cargo/README.md
+#usr/share/doc/rust
+#usr/share/doc/rust/COPYRIGHT
+#usr/share/doc/rust/LICENSE-APACHE
+#usr/share/doc/rust/LICENSE-MIT
+#usr/share/doc/rust/README.md
+#usr/share/man/man1/cargo-bench.1
+#usr/share/man/man1/cargo-build.1
+#usr/share/man/man1/cargo-check.1
+#usr/share/man/man1/cargo-clean.1
+#usr/share/man/man1/cargo-doc.1
+#usr/share/man/man1/cargo-fetch.1
+#usr/share/man/man1/cargo-fix.1
+#usr/share/man/man1/cargo-generate-lockfile.1
+#usr/share/man/man1/cargo-help.1
+#usr/share/man/man1/cargo-init.1
+#usr/share/man/man1/cargo-install.1
+#usr/share/man/man1/cargo-locate-project.1
+#usr/share/man/man1/cargo-login.1
+#usr/share/man/man1/cargo-metadata.1
+#usr/share/man/man1/cargo-new.1
+#usr/share/man/man1/cargo-owner.1
+#usr/share/man/man1/cargo-package.1
+#usr/share/man/man1/cargo-pkgid.1
+#usr/share/man/man1/cargo-publish.1
+#usr/share/man/man1/cargo-run.1
+#usr/share/man/man1/cargo-rustc.1
+#usr/share/man/man1/cargo-rustdoc.1
+#usr/share/man/man1/cargo-search.1
+#usr/share/man/man1/cargo-test.1
+#usr/share/man/man1/cargo-uninstall.1
+#usr/share/man/man1/cargo-update.1
+#usr/share/man/man1/cargo-vendor.1
+#usr/share/man/man1/cargo-verify-project.1
+#usr/share/man/man1/cargo-version.1
+#usr/share/man/man1/cargo-yank.1
+#usr/share/man/man1/cargo.1
+#usr/share/man/man1/rustc.1
+#usr/share/man/man1/rustdoc.1
+#usr/share/zsh
+#usr/share/zsh/site-functions
+#usr/share/zsh/site-functions/_cargo
diff --git a/config/rootfiles/common/armv5tel/rust b/config/rootfiles/common/armv5tel/rust
new file mode 100644
index 000000000..39aa14ec3
--- /dev/null
+++ b/config/rootfiles/common/armv5tel/rust
@@ -0,0 +1,239 @@
+#usr/bin/cargo
+#usr/bin/rust-gdb
+#usr/bin/rust-gdbgui
+#usr/bin/rust-lldb
+#usr/bin/rustc
+#usr/bin/rustdoc
+#usr/etc
+#usr/etc/bash_completion.d
+#usr/etc/bash_completion.d/cargo
+#usr/lib/libLLVM-8-rust-1.37.0-stable.so
+#usr/lib/libarena-ceb2b0be1df82a34.so
+#usr/lib/libfmt_macros-b20970680435d874.so
+#usr/lib/libgraphviz-6134aa2fb7fc0ede.so
+#usr/lib/librustc-3ccb3dbb4a17b1c0.so
+#usr/lib/librustc_allocator-b2da80152b9c838b.so
+#usr/lib/librustc_borrowck-164479080cc8772d.so
+#usr/lib/librustc_codegen_ssa-36e16c2ebd557c5b.so
+#usr/lib/librustc_codegen_utils-a48bae0acacb485e.so
+#usr/lib/librustc_cratesio_shim-d6da3f9ed42f6b5f.so
+#usr/lib/librustc_data_structures-4f5460ff3467bd33.so
+#usr/lib/librustc_driver-1aa233c0fa499347.so
+#usr/lib/librustc_errors-4cd8925058f708b9.so
+#usr/lib/librustc_fs_util-cdf2d4af48a4d8b8.so
+#usr/lib/librustc_incremental-567a4fdbe33af894.so
+#usr/lib/librustc_interface-7691d2a4317831ca.so
+#usr/lib/librustc_lint-ddac0777c9ced2bb.so
+#usr/lib/librustc_macros-f2b013228a70c40f.so
+#usr/lib/librustc_metadata-f289cf194b04b3f9.so
+#usr/lib/librustc_mir-1828c73bde69e33b.so
+#usr/lib/librustc_passes-e0682f28cae48983.so
+#usr/lib/librustc_plugin-6bec8276dde0b5f4.so
+#usr/lib/librustc_privacy-5f93627d6eafe450.so
+#usr/lib/librustc_resolve-2b19d14c3867bf72.so
+#usr/lib/librustc_save_analysis-7c9416ee095cfab0.so
+#usr/lib/librustc_target-0fd4749864b3ce5a.so
+#usr/lib/librustc_traits-051352dbf7a1f21e.so
+#usr/lib/librustc_typeck-732835e10652d8da.so
+#usr/lib/libserialize-8fcbeb7fff90d36a.so
+#usr/lib/libstd-4a76ff35a356aedf.so
+#usr/lib/libsyntax-0268718cca0c4bfe.so
+#usr/lib/libsyntax_ext-d7fa76f0184472a6.so
+#usr/lib/libsyntax_pos-0380da211eff5e9a.so
+#usr/lib/libterm-2651f8b4eed9e86e.so
+#usr/lib/libtest-0127509d2e54a846.so
+#usr/lib/rustlib
+#usr/lib/rustlib/components
+#usr/lib/rustlib/etc
+#usr/lib/rustlib/etc/debugger_pretty_printers_common.py
+#usr/lib/rustlib/etc/gdb_load_rust_pretty_printers.py
+#usr/lib/rustlib/etc/gdb_rust_pretty_printing.py
+#usr/lib/rustlib/etc/lldb_rust_formatters.py
+#usr/lib/rustlib/install.log
+#usr/lib/rustlib/manifest-cargo
+#usr/lib/rustlib/manifest-rust-std-arm-unknown-linux-gnueabi
+#usr/lib/rustlib/manifest-rustc
+#usr/lib/rustlib/rust-installer-version
+#usr/lib/rustlib/uninstall.sh
+#usr/lib/rustlib/arm-unknown-linux-gnueabi
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/bin
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/bin/rust-lld
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/codegen-backends
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/codegen-backends/librustc_codegen_llvm-emscripten.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/codegen-backends/librustc_codegen_llvm-llvm.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libLLVM-8-rust-1.37.0-stable.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/liballoc-580035dd98451925.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libannotate_snippets-25e8d8701c03547d.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libarena-ceb2b0be1df82a34.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libarrayvec-f106db365d780985.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libatty-740be20e4d7441ff.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libbacktrace-13217ede3d276f16.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libbacktrace-9af89337886e6db6.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libbacktrace_sys-621a9ee22da6caa1.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libbacktrace_sys-fba99e00c4e61492.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libbitflags-4a7d2efbf7a358d0.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libbyteorder-5ff68006fd3fb999.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libcc-ce0590f9ba246196.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libcfg_if-be7979c57a08057b.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libcfg_if-cddc487ade7daaa5.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libchalk_engine-69df11cdcd6bae99.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libchalk_macros-2bf52732ae8243bc.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libcompiler_builtins-9fc4b5be2ba5cc19.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libcore-8a55a4098920125a.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libcrc32fast-fc7bcda202f0f3f7.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libcrossbeam_deque-b4b71504b68d8f8b.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libcrossbeam_epoch-c664f1a3b4666115.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libcrossbeam_utils-63c4319e4aba6512.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libdatafrog-bb049e83d8396896.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libeither-d1a988cc36833269.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libena-baa918d535227ba6.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libenv_logger-ff2b1a6f19a13aac.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libflate2-1c2be25b633e6a65.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libfmt_macros-b20970680435d874.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libgetopts-c729851ce6e3efb2.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libgraphviz-6134aa2fb7fc0ede.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libhashbrown-be9569e4d599746f.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libhumantime-6e5514835e11fb0b.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libindexmap-7f10e194770d6bf3.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libitoa-438f269905bbaa51.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libjemalloc_sys-c8524fc37cd0fe80.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libjobserver-2c75db35ce15b29a.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/liblazy_static-0de2b1545b6973a2.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/liblazy_static-21ff09e0ead00dc9.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/liblibc-2299a069d4067a08.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/liblibc-d6459c4f0817c67c.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/liblock_api-c79d1a6ea5dc7713.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/liblog-18ad11d6dda4e80d.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/liblog_settings-ae8859ad47668e7f.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libmeasureme-327bb21dd04749e8.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libmemmap-954e0d1f2b0db71b.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libmemoffset-62475d073708b865.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libminiz_sys-d07d12e134a38412.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libnodrop-b315aca0ebc7a5b8.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libnum_cpus-f6407c37ef29b71f.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libowning_ref-a0b3d9e1cdab8c89.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libpanic_abort-a956b3d01e3c9a0e.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libpanic_unwind-e11c7b3b3225afe2.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libparking_lot-4b068d99c9e6fdb6.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libparking_lot_core-8c73184e7c1493fe.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libpolonius_engine-e22625b0bbda797a.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libproc_macro-4a29a6c5fe75a875.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libprofiler_builtins-b36e7b6c2d3e00eb.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libpunycode-8955eba3c43f8f2e.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libquick_error-acc678b011452377.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librand-ebc7d1f1ad312180.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librand_chacha-47ba3ac92cc46b2c.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librand_core-c1f44f472e6d23be.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librand_hc-b3cc93a39a881b5b.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librand_isaac-63fbbbd089438d27.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librand_pcg-f16fbddc311ab68e.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librand_xorshift-8cd3bbc8a0d1fb89.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libremove_dir_all-898894399d3dfed9.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librls_data-4a7aa063287c45da.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librls_span-dd90aac9099b76b5.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc-3ccb3dbb4a17b1c0.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_allocator-b2da80152b9c838b.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_apfloat-f178776c0914cec5.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_asan-5a773b1fffe6c751.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_borrowck-164479080cc8772d.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_codegen_ssa-36e16c2ebd557c5b.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_codegen_utils-a48bae0acacb485e.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_cratesio_shim-d6da3f9ed42f6b5f.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_data_structures-4f5460ff3467bd33.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_demangle-546c844e8071bbeb.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_demangle-c571e3698361b498.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_driver-1aa233c0fa499347.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_errors-4cd8925058f708b9.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_fs_util-cdf2d4af48a4d8b8.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_hash-dab039160d1ae7fc.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_incremental-567a4fdbe33af894.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_interface-7691d2a4317831ca.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_lint-ddac0777c9ced2bb.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_lsan-bcfe6f943bf3a3db.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_macros-f2b013228a70c40f.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_metadata-f289cf194b04b3f9.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_mir-1828c73bde69e33b.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_msan-ffd3999f1149534e.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_passes-e0682f28cae48983.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_plugin-6bec8276dde0b5f4.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_privacy-5f93627d6eafe450.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_rayon-45df15d01be9166e.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_rayon_core-bc509e7526aad29c.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_resolve-2b19d14c3867bf72.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_save_analysis-7c9416ee095cfab0.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_std_workspace_alloc-47d8845cef2a3bc5.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_std_workspace_core-aee5c24fff305dea.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_target-0fd4749864b3ce5a.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_traits-051352dbf7a1f21e.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_tsan-5af25b139995eaa9.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_typeck-732835e10652d8da.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libryu-919d5311c0fa1780.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libscoped_tls-583a4be451031471.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libscopeguard-b33d2d758306f178.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libserde-2882d0235471e138.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libserde_json-fb3419596e2872d5.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libserialize-8fcbeb7fff90d36a.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libserialize-8fcbeb7fff90d36a.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libsmallvec-a7473e0177aca21a.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libstable_deref_trait-95edcbcd95f82564.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libstd-4a76ff35a356aedf.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libstd-4a76ff35a356aedf.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libsyntax-0268718cca0c4bfe.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libsyntax_ext-d7fa76f0184472a6.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libsyntax_pos-0380da211eff5e9a.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libtempfile-03867c2a718d0e3a.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libterm-2651f8b4eed9e86e.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libterm-2651f8b4eed9e86e.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libtermcolor-a7c37dbe6cc8c9b2.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libtest-0127509d2e54a846.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libtest-0127509d2e54a846.so
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libunicode_width-2c3a64b369c398a7.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libunicode_width-e8235f0d435d4737.rlib
+#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libunwind-017511bce73a530c.rlib
+#usr/share/doc/cargo
+#usr/share/doc/cargo/LICENSE-APACHE
+#usr/share/doc/cargo/LICENSE-MIT
+#usr/share/doc/cargo/LICENSE-THIRD-PARTY
+#usr/share/doc/cargo/README.md
+#usr/share/doc/rust
+#usr/share/doc/rust/COPYRIGHT
+#usr/share/doc/rust/LICENSE-APACHE
+#usr/share/doc/rust/LICENSE-MIT
+#usr/share/doc/rust/README.md
+#usr/share/man/man1/cargo-bench.1
+#usr/share/man/man1/cargo-build.1
+#usr/share/man/man1/cargo-check.1
+#usr/share/man/man1/cargo-clean.1
+#usr/share/man/man1/cargo-doc.1
+#usr/share/man/man1/cargo-fetch.1
+#usr/share/man/man1/cargo-fix.1
+#usr/share/man/man1/cargo-generate-lockfile.1
+#usr/share/man/man1/cargo-help.1
+#usr/share/man/man1/cargo-init.1
+#usr/share/man/man1/cargo-install.1
+#usr/share/man/man1/cargo-locate-project.1
+#usr/share/man/man1/cargo-login.1
+#usr/share/man/man1/cargo-metadata.1
+#usr/share/man/man1/cargo-new.1
+#usr/share/man/man1/cargo-owner.1
+#usr/share/man/man1/cargo-package.1
+#usr/share/man/man1/cargo-pkgid.1
+#usr/share/man/man1/cargo-publish.1
+#usr/share/man/man1/cargo-run.1
+#usr/share/man/man1/cargo-rustc.1
+#usr/share/man/man1/cargo-rustdoc.1
+#usr/share/man/man1/cargo-search.1
+#usr/share/man/man1/cargo-test.1
+#usr/share/man/man1/cargo-uninstall.1
+#usr/share/man/man1/cargo-update.1
+#usr/share/man/man1/cargo-vendor.1
+#usr/share/man/man1/cargo-verify-project.1
+#usr/share/man/man1/cargo-version.1
+#usr/share/man/man1/cargo-yank.1
+#usr/share/man/man1/cargo.1
+#usr/share/man/man1/rustc.1
+#usr/share/man/man1/rustdoc.1
+#usr/share/zsh
+#usr/share/zsh/site-functions
+#usr/share/zsh/site-functions/_cargo
diff --git a/config/rootfiles/common/i586/rust b/config/rootfiles/common/i586/rust
new file mode 100644
index 000000000..ebbb2061a
--- /dev/null
+++ b/config/rootfiles/common/i586/rust
@@ -0,0 +1,239 @@
+#usr/bin/cargo
+#usr/bin/rust-gdb
+#usr/bin/rust-gdbgui
+#usr/bin/rust-lldb
+#usr/bin/rustc
+#usr/bin/rustdoc
+#usr/etc
+#usr/etc/bash_completion.d
+#usr/etc/bash_completion.d/cargo
+#usr/lib/libLLVM-8-rust-1.37.0-stable.so
+#usr/lib/libarena-ceb2b0be1df82a34.so
+#usr/lib/libfmt_macros-b20970680435d874.so
+#usr/lib/libgraphviz-6134aa2fb7fc0ede.so
+#usr/lib/librustc-3ccb3dbb4a17b1c0.so
+#usr/lib/librustc_allocator-b2da80152b9c838b.so
+#usr/lib/librustc_borrowck-164479080cc8772d.so
+#usr/lib/librustc_codegen_ssa-36e16c2ebd557c5b.so
+#usr/lib/librustc_codegen_utils-a48bae0acacb485e.so
+#usr/lib/librustc_cratesio_shim-d6da3f9ed42f6b5f.so
+#usr/lib/librustc_data_structures-4f5460ff3467bd33.so
+#usr/lib/librustc_driver-1aa233c0fa499347.so
+#usr/lib/librustc_errors-4cd8925058f708b9.so
+#usr/lib/librustc_fs_util-cdf2d4af48a4d8b8.so
+#usr/lib/librustc_incremental-567a4fdbe33af894.so
+#usr/lib/librustc_interface-7691d2a4317831ca.so
+#usr/lib/librustc_lint-ddac0777c9ced2bb.so
+#usr/lib/librustc_macros-f2b013228a70c40f.so
+#usr/lib/librustc_metadata-f289cf194b04b3f9.so
+#usr/lib/librustc_mir-1828c73bde69e33b.so
+#usr/lib/librustc_passes-e0682f28cae48983.so
+#usr/lib/librustc_plugin-6bec8276dde0b5f4.so
+#usr/lib/librustc_privacy-5f93627d6eafe450.so
+#usr/lib/librustc_resolve-2b19d14c3867bf72.so
+#usr/lib/librustc_save_analysis-7c9416ee095cfab0.so
+#usr/lib/librustc_target-0fd4749864b3ce5a.so
+#usr/lib/librustc_traits-051352dbf7a1f21e.so
+#usr/lib/librustc_typeck-732835e10652d8da.so
+#usr/lib/libserialize-8fcbeb7fff90d36a.so
+#usr/lib/libstd-4a76ff35a356aedf.so
+#usr/lib/libsyntax-0268718cca0c4bfe.so
+#usr/lib/libsyntax_ext-d7fa76f0184472a6.so
+#usr/lib/libsyntax_pos-0380da211eff5e9a.so
+#usr/lib/libterm-2651f8b4eed9e86e.so
+#usr/lib/libtest-0127509d2e54a846.so
+#usr/lib/rustlib
+#usr/lib/rustlib/components
+#usr/lib/rustlib/etc
+#usr/lib/rustlib/etc/debugger_pretty_printers_common.py
+#usr/lib/rustlib/etc/gdb_load_rust_pretty_printers.py
+#usr/lib/rustlib/etc/gdb_rust_pretty_printing.py
+#usr/lib/rustlib/etc/lldb_rust_formatters.py
+#usr/lib/rustlib/install.log
+#usr/lib/rustlib/manifest-cargo
+#usr/lib/rustlib/manifest-rust-std-i686-unknown-linux-gnu
+#usr/lib/rustlib/manifest-rustc
+#usr/lib/rustlib/rust-installer-version
+#usr/lib/rustlib/uninstall.sh
+#usr/lib/rustlib/i686-unknown-linux-gnu
+#usr/lib/rustlib/i686-unknown-linux-gnu/bin
+#usr/lib/rustlib/i686-unknown-linux-gnu/bin/rust-lld
+#usr/lib/rustlib/i686-unknown-linux-gnu/codegen-backends
+#usr/lib/rustlib/i686-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-emscripten.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libLLVM-8-rust-1.37.0-stable.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/liballoc-580035dd98451925.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libannotate_snippets-25e8d8701c03547d.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libarena-ceb2b0be1df82a34.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libarrayvec-f106db365d780985.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libatty-740be20e4d7441ff.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-13217ede3d276f16.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-9af89337886e6db6.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace_sys-621a9ee22da6caa1.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace_sys-fba99e00c4e61492.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbitflags-4a7d2efbf7a358d0.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbyteorder-5ff68006fd3fb999.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcc-ce0590f9ba246196.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcfg_if-be7979c57a08057b.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcfg_if-cddc487ade7daaa5.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_engine-69df11cdcd6bae99.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_macros-2bf52732ae8243bc.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcompiler_builtins-9fc4b5be2ba5cc19.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcore-8a55a4098920125a.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrc32fast-fc7bcda202f0f3f7.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_deque-b4b71504b68d8f8b.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_epoch-c664f1a3b4666115.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_utils-63c4319e4aba6512.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libdatafrog-bb049e83d8396896.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libeither-d1a988cc36833269.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libena-baa918d535227ba6.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libenv_logger-ff2b1a6f19a13aac.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libflate2-1c2be25b633e6a65.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libfmt_macros-b20970680435d874.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libgetopts-c729851ce6e3efb2.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libgraphviz-6134aa2fb7fc0ede.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libhashbrown-be9569e4d599746f.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libhumantime-6e5514835e11fb0b.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libindexmap-7f10e194770d6bf3.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libitoa-438f269905bbaa51.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjemalloc_sys-c8524fc37cd0fe80.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjobserver-2c75db35ce15b29a.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblazy_static-0de2b1545b6973a2.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblazy_static-21ff09e0ead00dc9.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblibc-2299a069d4067a08.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblibc-d6459c4f0817c67c.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblock_api-c79d1a6ea5dc7713.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog-18ad11d6dda4e80d.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog_settings-ae8859ad47668e7f.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libmeasureme-327bb21dd04749e8.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libmemmap-954e0d1f2b0db71b.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libmemoffset-62475d073708b865.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libminiz_sys-d07d12e134a38412.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnodrop-b315aca0ebc7a5b8.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnum_cpus-f6407c37ef29b71f.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libowning_ref-a0b3d9e1cdab8c89.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpanic_abort-a956b3d01e3c9a0e.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpanic_unwind-e11c7b3b3225afe2.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot-4b068d99c9e6fdb6.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot_core-8c73184e7c1493fe.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpolonius_engine-e22625b0bbda797a.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libproc_macro-4a29a6c5fe75a875.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libprofiler_builtins-b36e7b6c2d3e00eb.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpunycode-8955eba3c43f8f2e.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libquick_error-acc678b011452377.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-ebc7d1f1ad312180.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_chacha-47ba3ac92cc46b2c.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_core-c1f44f472e6d23be.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_hc-b3cc93a39a881b5b.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_isaac-63fbbbd089438d27.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_pcg-f16fbddc311ab68e.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_xorshift-8cd3bbc8a0d1fb89.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libremove_dir_all-898894399d3dfed9.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_data-4a7aa063287c45da.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_span-dd90aac9099b76b5.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc-3ccb3dbb4a17b1c0.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_allocator-b2da80152b9c838b.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_apfloat-f178776c0914cec5.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_asan-5a773b1fffe6c751.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_borrowck-164479080cc8772d.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_codegen_ssa-36e16c2ebd557c5b.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_codegen_utils-a48bae0acacb485e.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_cratesio_shim-d6da3f9ed42f6b5f.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_data_structures-4f5460ff3467bd33.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_demangle-546c844e8071bbeb.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_demangle-c571e3698361b498.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_driver-1aa233c0fa499347.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_errors-4cd8925058f708b9.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_fs_util-cdf2d4af48a4d8b8.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_hash-dab039160d1ae7fc.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_incremental-567a4fdbe33af894.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_interface-7691d2a4317831ca.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_lint-ddac0777c9ced2bb.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_lsan-bcfe6f943bf3a3db.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_macros-f2b013228a70c40f.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_metadata-f289cf194b04b3f9.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_mir-1828c73bde69e33b.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_msan-ffd3999f1149534e.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_passes-e0682f28cae48983.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_plugin-6bec8276dde0b5f4.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_privacy-5f93627d6eafe450.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon-45df15d01be9166e.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon_core-bc509e7526aad29c.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_resolve-2b19d14c3867bf72.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_save_analysis-7c9416ee095cfab0.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_std_workspace_alloc-47d8845cef2a3bc5.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_std_workspace_core-aee5c24fff305dea.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_target-0fd4749864b3ce5a.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_traits-051352dbf7a1f21e.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_tsan-5af25b139995eaa9.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_typeck-732835e10652d8da.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libryu-919d5311c0fa1780.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libscoped_tls-583a4be451031471.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libscopeguard-b33d2d758306f178.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserde-2882d0235471e138.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserde_json-fb3419596e2872d5.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-8fcbeb7fff90d36a.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-8fcbeb7fff90d36a.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libsmallvec-a7473e0177aca21a.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libstable_deref_trait-95edcbcd95f82564.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libsyntax-0268718cca0c4bfe.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libsyntax_ext-d7fa76f0184472a6.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libsyntax_pos-0380da211eff5e9a.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtempfile-03867c2a718d0e3a.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libterm-2651f8b4eed9e86e.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libterm-2651f8b4eed9e86e.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtermcolor-a7c37dbe6cc8c9b2.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtest-0127509d2e54a846.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtest-0127509d2e54a846.so
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libunicode_width-2c3a64b369c398a7.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libunicode_width-e8235f0d435d4737.rlib
+#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libunwind-017511bce73a530c.rlib
+#usr/share/doc/cargo
+#usr/share/doc/cargo/LICENSE-APACHE
+#usr/share/doc/cargo/LICENSE-MIT
+#usr/share/doc/cargo/LICENSE-THIRD-PARTY
+#usr/share/doc/cargo/README.md
+#usr/share/doc/rust
+#usr/share/doc/rust/COPYRIGHT
+#usr/share/doc/rust/LICENSE-APACHE
+#usr/share/doc/rust/LICENSE-MIT
+#usr/share/doc/rust/README.md
+#usr/share/man/man1/cargo-bench.1
+#usr/share/man/man1/cargo-build.1
+#usr/share/man/man1/cargo-check.1
+#usr/share/man/man1/cargo-clean.1
+#usr/share/man/man1/cargo-doc.1
+#usr/share/man/man1/cargo-fetch.1
+#usr/share/man/man1/cargo-fix.1
+#usr/share/man/man1/cargo-generate-lockfile.1
+#usr/share/man/man1/cargo-help.1
+#usr/share/man/man1/cargo-init.1
+#usr/share/man/man1/cargo-install.1
+#usr/share/man/man1/cargo-locate-project.1
+#usr/share/man/man1/cargo-login.1
+#usr/share/man/man1/cargo-metadata.1
+#usr/share/man/man1/cargo-new.1
+#usr/share/man/man1/cargo-owner.1
+#usr/share/man/man1/cargo-package.1
+#usr/share/man/man1/cargo-pkgid.1
+#usr/share/man/man1/cargo-publish.1
+#usr/share/man/man1/cargo-run.1
+#usr/share/man/man1/cargo-rustc.1
+#usr/share/man/man1/cargo-rustdoc.1
+#usr/share/man/man1/cargo-search.1
+#usr/share/man/man1/cargo-test.1
+#usr/share/man/man1/cargo-uninstall.1
+#usr/share/man/man1/cargo-update.1
+#usr/share/man/man1/cargo-vendor.1
+#usr/share/man/man1/cargo-verify-project.1
+#usr/share/man/man1/cargo-version.1
+#usr/share/man/man1/cargo-yank.1
+#usr/share/man/man1/cargo.1
+#usr/share/man/man1/rustc.1
+#usr/share/man/man1/rustdoc.1
+#usr/share/zsh
+#usr/share/zsh/site-functions
+#usr/share/zsh/site-functions/_cargo
diff --git a/config/rootfiles/common/x86_64/rust b/config/rootfiles/common/x86_64/rust
new file mode 100644
index 000000000..103d1e028
--- /dev/null
+++ b/config/rootfiles/common/x86_64/rust
@@ -0,0 +1,239 @@
+#usr/bin/cargo
+#usr/bin/rust-gdb
+#usr/bin/rust-gdbgui
+#usr/bin/rust-lldb
+#usr/bin/rustc
+#usr/bin/rustdoc
+#usr/etc
+#usr/etc/bash_completion.d
+#usr/etc/bash_completion.d/cargo
+#usr/lib/libLLVM-8-rust-1.37.0-stable.so
+#usr/lib/libarena-ceb2b0be1df82a34.so
+#usr/lib/libfmt_macros-b20970680435d874.so
+#usr/lib/libgraphviz-6134aa2fb7fc0ede.so
+#usr/lib/librustc-3ccb3dbb4a17b1c0.so
+#usr/lib/librustc_allocator-b2da80152b9c838b.so
+#usr/lib/librustc_borrowck-164479080cc8772d.so
+#usr/lib/librustc_codegen_ssa-36e16c2ebd557c5b.so
+#usr/lib/librustc_codegen_utils-a48bae0acacb485e.so
+#usr/lib/librustc_cratesio_shim-d6da3f9ed42f6b5f.so
+#usr/lib/librustc_data_structures-4f5460ff3467bd33.so
+#usr/lib/librustc_driver-1aa233c0fa499347.so
+#usr/lib/librustc_errors-4cd8925058f708b9.so
+#usr/lib/librustc_fs_util-cdf2d4af48a4d8b8.so
+#usr/lib/librustc_incremental-567a4fdbe33af894.so
+#usr/lib/librustc_interface-7691d2a4317831ca.so
+#usr/lib/librustc_lint-ddac0777c9ced2bb.so
+#usr/lib/librustc_macros-f2b013228a70c40f.so
+#usr/lib/librustc_metadata-f289cf194b04b3f9.so
+#usr/lib/librustc_mir-1828c73bde69e33b.so
+#usr/lib/librustc_passes-e0682f28cae48983.so
+#usr/lib/librustc_plugin-6bec8276dde0b5f4.so
+#usr/lib/librustc_privacy-5f93627d6eafe450.so
+#usr/lib/librustc_resolve-2b19d14c3867bf72.so
+#usr/lib/librustc_save_analysis-7c9416ee095cfab0.so
+#usr/lib/librustc_target-0fd4749864b3ce5a.so
+#usr/lib/librustc_traits-051352dbf7a1f21e.so
+#usr/lib/librustc_typeck-732835e10652d8da.so
+#usr/lib/libserialize-8fcbeb7fff90d36a.so
+#usr/lib/libstd-4a76ff35a356aedf.so
+#usr/lib/libsyntax-0268718cca0c4bfe.so
+#usr/lib/libsyntax_ext-d7fa76f0184472a6.so
+#usr/lib/libsyntax_pos-0380da211eff5e9a.so
+#usr/lib/libterm-2651f8b4eed9e86e.so
+#usr/lib/libtest-0127509d2e54a846.so
+#usr/lib/rustlib
+#usr/lib/rustlib/components
+#usr/lib/rustlib/etc
+#usr/lib/rustlib/etc/debugger_pretty_printers_common.py
+#usr/lib/rustlib/etc/gdb_load_rust_pretty_printers.py
+#usr/lib/rustlib/etc/gdb_rust_pretty_printing.py
+#usr/lib/rustlib/etc/lldb_rust_formatters.py
+#usr/lib/rustlib/install.log
+#usr/lib/rustlib/manifest-cargo
+#usr/lib/rustlib/manifest-rust-std-x86_64-unknown-linux-gnu
+#usr/lib/rustlib/manifest-rustc
+#usr/lib/rustlib/rust-installer-version
+#usr/lib/rustlib/uninstall.sh
+#usr/lib/rustlib/x86_64-unknown-linux-gnu
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/bin
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/rust-lld
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-emscripten.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libLLVM-8-rust-1.37.0-stable.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-580035dd98451925.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libannotate_snippets-25e8d8701c03547d.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libarena-ceb2b0be1df82a34.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libarrayvec-f106db365d780985.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libatty-740be20e4d7441ff.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-13217ede3d276f16.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-9af89337886e6db6.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-621a9ee22da6caa1.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-fba99e00c4e61492.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbitflags-4a7d2efbf7a358d0.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbyteorder-5ff68006fd3fb999.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcc-ce0590f9ba246196.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-be7979c57a08057b.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-cddc487ade7daaa5.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libchalk_engine-69df11cdcd6bae99.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libchalk_macros-2bf52732ae8243bc.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9fc4b5be2ba5cc19.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8a55a4098920125a.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcrc32fast-fc7bcda202f0f3f7.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcrossbeam_deque-b4b71504b68d8f8b.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcrossbeam_epoch-c664f1a3b4666115.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcrossbeam_utils-63c4319e4aba6512.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libdatafrog-bb049e83d8396896.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libeither-d1a988cc36833269.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libena-baa918d535227ba6.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libenv_logger-ff2b1a6f19a13aac.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libflate2-1c2be25b633e6a65.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-b20970680435d874.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-c729851ce6e3efb2.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgraphviz-6134aa2fb7fc0ede.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-be9569e4d599746f.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhumantime-6e5514835e11fb0b.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libindexmap-7f10e194770d6bf3.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libitoa-438f269905bbaa51.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libjemalloc_sys-c8524fc37cd0fe80.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libjobserver-2c75db35ce15b29a.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblazy_static-0de2b1545b6973a2.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblazy_static-21ff09e0ead00dc9.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-2299a069d4067a08.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d6459c4f0817c67c.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblock_api-c79d1a6ea5dc7713.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-18ad11d6dda4e80d.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog_settings-ae8859ad47668e7f.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmeasureme-327bb21dd04749e8.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemmap-954e0d1f2b0db71b.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemoffset-62475d073708b865.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_sys-d07d12e134a38412.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libnodrop-b315aca0ebc7a5b8.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libnum_cpus-f6407c37ef29b71f.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libowning_ref-a0b3d9e1cdab8c89.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_abort-a956b3d01e3c9a0e.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e11c7b3b3225afe2.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libparking_lot-4b068d99c9e6fdb6.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libparking_lot_core-8c73184e7c1493fe.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpolonius_engine-e22625b0bbda797a.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libproc_macro-4a29a6c5fe75a875.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libprofiler_builtins-b36e7b6c2d3e00eb.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpunycode-8955eba3c43f8f2e.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libquick_error-acc678b011452377.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-ebc7d1f1ad312180.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand_chacha-47ba3ac92cc46b2c.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand_core-c1f44f472e6d23be.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand_hc-b3cc93a39a881b5b.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand_isaac-63fbbbd089438d27.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand_pcg-f16fbddc311ab68e.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand_xorshift-8cd3bbc8a0d1fb89.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libremove_dir_all-898894399d3dfed9.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librls_data-4a7aa063287c45da.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librls_span-dd90aac9099b76b5.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-3ccb3dbb4a17b1c0.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_allocator-b2da80152b9c838b.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_apfloat-f178776c0914cec5.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_asan-5a773b1fffe6c751.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_borrowck-164479080cc8772d.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_codegen_ssa-36e16c2ebd557c5b.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_codegen_utils-a48bae0acacb485e.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_cratesio_shim-d6da3f9ed42f6b5f.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_data_structures-4f5460ff3467bd33.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-546c844e8071bbeb.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c571e3698361b498.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_driver-1aa233c0fa499347.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_errors-4cd8925058f708b9.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_fs_util-cdf2d4af48a4d8b8.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_hash-dab039160d1ae7fc.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_incremental-567a4fdbe33af894.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_interface-7691d2a4317831ca.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_lint-ddac0777c9ced2bb.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_lsan-bcfe6f943bf3a3db.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_macros-f2b013228a70c40f.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_metadata-f289cf194b04b3f9.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_mir-1828c73bde69e33b.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_msan-ffd3999f1149534e.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_passes-e0682f28cae48983.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_plugin-6bec8276dde0b5f4.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_privacy-5f93627d6eafe450.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_rayon-45df15d01be9166e.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_rayon_core-bc509e7526aad29c.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_resolve-2b19d14c3867bf72.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_save_analysis-7c9416ee095cfab0.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-47d8845cef2a3bc5.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-aee5c24fff305dea.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_target-0fd4749864b3ce5a.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_traits-051352dbf7a1f21e.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_tsan-5af25b139995eaa9.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_typeck-732835e10652d8da.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libryu-919d5311c0fa1780.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libscoped_tls-583a4be451031471.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libscopeguard-b33d2d758306f178.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserde-2882d0235471e138.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserde_json-fb3419596e2872d5.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-8fcbeb7fff90d36a.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-8fcbeb7fff90d36a.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsmallvec-a7473e0177aca21a.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstable_deref_trait-95edcbcd95f82564.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-0268718cca0c4bfe.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax_ext-d7fa76f0184472a6.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax_pos-0380da211eff5e9a.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtempfile-03867c2a718d0e3a.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-2651f8b4eed9e86e.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-2651f8b4eed9e86e.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtermcolor-a7c37dbe6cc8c9b2.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-0127509d2e54a846.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-0127509d2e54a846.so
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-2c3a64b369c398a7.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-e8235f0d435d4737.rlib
+#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-017511bce73a530c.rlib
+#usr/share/doc/cargo
+#usr/share/doc/cargo/LICENSE-APACHE
+#usr/share/doc/cargo/LICENSE-MIT
+#usr/share/doc/cargo/LICENSE-THIRD-PARTY
+#usr/share/doc/cargo/README.md
+#usr/share/doc/rust
+#usr/share/doc/rust/COPYRIGHT
+#usr/share/doc/rust/LICENSE-APACHE
+#usr/share/doc/rust/LICENSE-MIT
+#usr/share/doc/rust/README.md
+#usr/share/man/man1/cargo-bench.1
+#usr/share/man/man1/cargo-build.1
+#usr/share/man/man1/cargo-check.1
+#usr/share/man/man1/cargo-clean.1
+#usr/share/man/man1/cargo-doc.1
+#usr/share/man/man1/cargo-fetch.1
+#usr/share/man/man1/cargo-fix.1
+#usr/share/man/man1/cargo-generate-lockfile.1
+#usr/share/man/man1/cargo-help.1
+#usr/share/man/man1/cargo-init.1
+#usr/share/man/man1/cargo-install.1
+#usr/share/man/man1/cargo-locate-project.1
+#usr/share/man/man1/cargo-login.1
+#usr/share/man/man1/cargo-metadata.1
+#usr/share/man/man1/cargo-new.1
+#usr/share/man/man1/cargo-owner.1
+#usr/share/man/man1/cargo-package.1
+#usr/share/man/man1/cargo-pkgid.1
+#usr/share/man/man1/cargo-publish.1
+#usr/share/man/man1/cargo-run.1
+#usr/share/man/man1/cargo-rustc.1
+#usr/share/man/man1/cargo-rustdoc.1
+#usr/share/man/man1/cargo-search.1
+#usr/share/man/man1/cargo-test.1
+#usr/share/man/man1/cargo-uninstall.1
+#usr/share/man/man1/cargo-update.1
+#usr/share/man/man1/cargo-vendor.1
+#usr/share/man/man1/cargo-verify-project.1
+#usr/share/man/man1/cargo-version.1
+#usr/share/man/man1/cargo-yank.1
+#usr/share/man/man1/cargo.1
+#usr/share/man/man1/rustc.1
+#usr/share/man/man1/rustdoc.1
+#usr/share/zsh
+#usr/share/zsh/site-functions
+#usr/share/zsh/site-functions/_cargo
diff --git a/lfs/rust b/lfs/rust
new file mode 100644
index 000000000..289387133
--- /dev/null
+++ b/lfs/rust
@@ -0,0 +1,92 @@
+###############################################################################
+# #
+# IPFire.org - A linux based firewall #
+# Copyright (C) 2007-2018 IPFire Team <info(a)ipfire.org> #
+# #
+# This program is free software: you can redistribute it and/or modify #
+# it under the terms of the GNU General Public License as published by #
+# the Free Software Foundation, either version 3 of the License, or #
+# (at your option) any later version. #
+# #
+# This program is distributed in the hope that it will be useful, #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
+# GNU General Public License for more details. #
+# #
+# You should have received a copy of the GNU General Public License #
+# along with this program. If not, see <http://www.gnu.org/licenses/>. #
+# #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER = 1.37.0
+
+THISAPP = rust-$(VER)
+DL_FILE = $(THISAPP)-$(RUST_BOOTSTRAP).tar.gz
+DL_FROM = $(URL_IPFIRE)
+DIR_APP = $(DIR_SRC)/$(THISAPP)-$(RUST_BOOTSTRAP)
+TARGET = $(DIR_INFO)/$(THISAPP)
+
+ifeq "$(BUILD_ARCH)" "i586"
+ RUST_ARCH = i686
+else
+ RUST_ARCH = $(BUILD_ARCH)
+endif
+
+ifeq "$(BUILD_ARCH)" "armv5tel"
+ RUST_BOOTSTRAP = arm-unknown-linux-gnueabi
+else
+ RUST_BOOTSTRAP = $(RUST_ARCH)-unknown-linux-gnu
+endif
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 3f84df04bd0cf0ea4668390be263945e
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+ @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+ @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+ @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+ @$(PREBUILD)
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+ cd $(DIR_APP) && ./install.sh \
+ --components=cargo,rustc,rust-std-$(RUST_BOOTSTRAP) \
+ --prefix=/usr \
+ --disable-ldconfig
+
+ @rm -rf $(DIR_APP)
+ @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index cf2e43874..4d4bcd98d 100755
--- a/make.sh
+++ b/make.sh
@@ -1343,6 +1343,7 @@ buildipfire() {
lfsmake2 setserial
lfsmake2 setup
lfsmake2 libdnet
+ lfsmake2 rust
lfsmake2 jansson
lfsmake2 yaml
lfsmake2 libhtp
--
2.20.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/2] suricata: Enable rust support
2019-10-07 18:44 [PATCH 1/2] rust: New package Stefan Schantl
@ 2019-10-07 18:44 ` Stefan Schantl
2019-10-08 9:06 ` [PATCH 1/2] rust: New package Michael Tremer
1 sibling, 0 replies; 5+ messages in thread
From: Stefan Schantl @ 2019-10-07 18:44 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 1091 bytes --]
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
config/rootfiles/common/suricata | 2 ++
lfs/suricata | 4 +++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/config/rootfiles/common/suricata b/config/rootfiles/common/suricata
index ac48dbce9..41b02525d 100644
--- a/config/rootfiles/common/suricata
+++ b/config/rootfiles/common/suricata
@@ -1,5 +1,7 @@
etc/suricata
etc/suricata/suricata.yaml
+#root/.cargo
+#root/.cargo/.package-cache
usr/bin/suricata
#usr/share/doc/suricata
#usr/share/doc/suricata/AUTHORS
diff --git a/lfs/suricata b/lfs/suricata
index 6f779d875..ed262f12b 100644
--- a/lfs/suricata
+++ b/lfs/suricata
@@ -82,7 +82,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
--disable-python \
--with-libjansson-libraries=/usr/lib \
--with-libjansson-includes=/usr/include \
- --disable-suricata-update
+ --disable-suricata-update \
+ --enable-rust
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
cd $(DIR_APP) && make install-conf
--
2.20.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] rust: New package.
2019-10-07 18:44 [PATCH 1/2] rust: New package Stefan Schantl
2019-10-07 18:44 ` [PATCH 2/2] suricata: Enable rust support Stefan Schantl
@ 2019-10-08 9:06 ` Michael Tremer
1 sibling, 0 replies; 5+ messages in thread
From: Michael Tremer @ 2019-10-08 9:06 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 68941 bytes --]
Hi,
This looks good so far.
> On 7 Oct 2019, at 19:44, Stefan Schantl <stefan.schantl(a)ipfire.org> wrote:
>
> Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
> ---
> config/rootfiles/common/aarch64/rust | 239 ++++++++++++++++++++++++++
> config/rootfiles/common/armv5tel/rust | 239 ++++++++++++++++++++++++++
> config/rootfiles/common/i586/rust | 239 ++++++++++++++++++++++++++
> config/rootfiles/common/x86_64/rust | 239 ++++++++++++++++++++++++++
> lfs/rust | 92 ++++++++++
> make.sh | 1 +
> 6 files changed, 1049 insertions(+)
> create mode 100644 config/rootfiles/common/aarch64/rust
> create mode 100644 config/rootfiles/common/armv5tel/rust
> create mode 100644 config/rootfiles/common/i586/rust
> create mode 100644 config/rootfiles/common/x86_64/rust
> create mode 100644 lfs/rust
>
> diff --git a/config/rootfiles/common/aarch64/rust b/config/rootfiles/common/aarch64/rust
> new file mode 100644
> index 000000000..176dbe98a
> --- /dev/null
> +++ b/config/rootfiles/common/aarch64/rust
> @@ -0,0 +1,239 @@
> +#usr/bin/cargo
> +#usr/bin/rust-gdb
> +#usr/bin/rust-gdbgui
> +#usr/bin/rust-lldb
> +#usr/bin/rustc
> +#usr/bin/rustdoc
> +#usr/etc
> +#usr/etc/bash_completion.d
> +#usr/etc/bash_completion.d/cargo
This is slightly incorrect and should be fixed by passing —-sysconfdir=/etc to configure.
> +#usr/lib/libLLVM-8-rust-1.37.0-stable.so
> +#usr/lib/libarena-ceb2b0be1df82a34.so
> +#usr/lib/libfmt_macros-b20970680435d874.so
> +#usr/lib/libgraphviz-6134aa2fb7fc0ede.so
> +#usr/lib/librustc-3ccb3dbb4a17b1c0.so
> +#usr/lib/librustc_allocator-b2da80152b9c838b.so
> +#usr/lib/librustc_borrowck-164479080cc8772d.so
> +#usr/lib/librustc_codegen_ssa-36e16c2ebd557c5b.so
> +#usr/lib/librustc_codegen_utils-a48bae0acacb485e.so
> +#usr/lib/librustc_cratesio_shim-d6da3f9ed42f6b5f.so
> +#usr/lib/librustc_data_structures-4f5460ff3467bd33.so
> +#usr/lib/librustc_driver-1aa233c0fa499347.so
> +#usr/lib/librustc_errors-4cd8925058f708b9.so
> +#usr/lib/librustc_fs_util-cdf2d4af48a4d8b8.so
> +#usr/lib/librustc_incremental-567a4fdbe33af894.so
> +#usr/lib/librustc_interface-7691d2a4317831ca.so
> +#usr/lib/librustc_lint-ddac0777c9ced2bb.so
> +#usr/lib/librustc_macros-f2b013228a70c40f.so
> +#usr/lib/librustc_metadata-f289cf194b04b3f9.so
> +#usr/lib/librustc_mir-1828c73bde69e33b.so
> +#usr/lib/librustc_passes-e0682f28cae48983.so
> +#usr/lib/librustc_plugin-6bec8276dde0b5f4.so
> +#usr/lib/librustc_privacy-5f93627d6eafe450.so
> +#usr/lib/librustc_resolve-2b19d14c3867bf72.so
> +#usr/lib/librustc_save_analysis-7c9416ee095cfab0.so
> +#usr/lib/librustc_target-0fd4749864b3ce5a.so
> +#usr/lib/librustc_traits-051352dbf7a1f21e.so
> +#usr/lib/librustc_typeck-732835e10652d8da.so
> +#usr/lib/libserialize-8fcbeb7fff90d36a.so
> +#usr/lib/libstd-4a76ff35a356aedf.so
> +#usr/lib/libsyntax-0268718cca0c4bfe.so
> +#usr/lib/libsyntax_ext-d7fa76f0184472a6.so
> +#usr/lib/libsyntax_pos-0380da211eff5e9a.so
> +#usr/lib/libterm-2651f8b4eed9e86e.so
> +#usr/lib/libtest-0127509d2e54a846.so
Interesting to create such a mess in /usr/lib...
> +#usr/lib/rustlib
> +#usr/lib/rustlib/components
> +#usr/lib/rustlib/etc
> +#usr/lib/rustlib/etc/debugger_pretty_printers_common.py
> +#usr/lib/rustlib/etc/gdb_load_rust_pretty_printers.py
> +#usr/lib/rustlib/etc/gdb_rust_pretty_printing.py
> +#usr/lib/rustlib/etc/lldb_rust_formatters.py
> +#usr/lib/rustlib/install.log
> +#usr/lib/rustlib/manifest-cargo
> +#usr/lib/rustlib/manifest-rust-std-aarch64-unknown-linux-gnu
> +#usr/lib/rustlib/manifest-rustc
> +#usr/lib/rustlib/rust-installer-version
> +#usr/lib/rustlib/uninstall.sh
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/bin
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/bin/rust-lld
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/codegen-backends
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-emscripten.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libLLVM-8-rust-1.37.0-stable.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/liballoc-580035dd98451925.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libannotate_snippets-25e8d8701c03547d.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libarena-ceb2b0be1df82a34.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libarrayvec-f106db365d780985.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libatty-740be20e4d7441ff.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libbacktrace-13217ede3d276f16.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libbacktrace-9af89337886e6db6.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libbacktrace_sys-621a9ee22da6caa1.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libbacktrace_sys-fba99e00c4e61492.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libbitflags-4a7d2efbf7a358d0.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libbyteorder-5ff68006fd3fb999.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcc-ce0590f9ba246196.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcfg_if-be7979c57a08057b.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcfg_if-cddc487ade7daaa5.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libchalk_engine-69df11cdcd6bae99.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libchalk_macros-2bf52732ae8243bc.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcompiler_builtins-9fc4b5be2ba5cc19.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcore-8a55a4098920125a.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcrc32fast-fc7bcda202f0f3f7.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcrossbeam_deque-b4b71504b68d8f8b.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcrossbeam_epoch-c664f1a3b4666115.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcrossbeam_utils-63c4319e4aba6512.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libdatafrog-bb049e83d8396896.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libeither-d1a988cc36833269.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libena-baa918d535227ba6.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libenv_logger-ff2b1a6f19a13aac.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libflate2-1c2be25b633e6a65.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libfmt_macros-b20970680435d874.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libgetopts-c729851ce6e3efb2.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libgraphviz-6134aa2fb7fc0ede.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libhashbrown-be9569e4d599746f.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libhumantime-6e5514835e11fb0b.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libindexmap-7f10e194770d6bf3.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libitoa-438f269905bbaa51.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libjemalloc_sys-c8524fc37cd0fe80.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libjobserver-2c75db35ce15b29a.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/liblazy_static-0de2b1545b6973a2.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/liblazy_static-21ff09e0ead00dc9.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/liblibc-2299a069d4067a08.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/liblibc-d6459c4f0817c67c.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/liblock_api-c79d1a6ea5dc7713.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/liblog-18ad11d6dda4e80d.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/liblog_settings-ae8859ad47668e7f.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libmeasureme-327bb21dd04749e8.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libmemmap-954e0d1f2b0db71b.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libmemoffset-62475d073708b865.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libminiz_sys-d07d12e134a38412.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libnodrop-b315aca0ebc7a5b8.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libnum_cpus-f6407c37ef29b71f.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libowning_ref-a0b3d9e1cdab8c89.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libpanic_abort-a956b3d01e3c9a0e.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libpanic_unwind-e11c7b3b3225afe2.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libparking_lot-4b068d99c9e6fdb6.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libparking_lot_core-8c73184e7c1493fe.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libpolonius_engine-e22625b0bbda797a.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libproc_macro-4a29a6c5fe75a875.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libprofiler_builtins-b36e7b6c2d3e00eb.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libpunycode-8955eba3c43f8f2e.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libquick_error-acc678b011452377.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librand-ebc7d1f1ad312180.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librand_chacha-47ba3ac92cc46b2c.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librand_core-c1f44f472e6d23be.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librand_hc-b3cc93a39a881b5b.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librand_isaac-63fbbbd089438d27.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librand_pcg-f16fbddc311ab68e.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librand_xorshift-8cd3bbc8a0d1fb89.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libremove_dir_all-898894399d3dfed9.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librls_data-4a7aa063287c45da.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librls_span-dd90aac9099b76b5.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc-3ccb3dbb4a17b1c0.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_allocator-b2da80152b9c838b.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_apfloat-f178776c0914cec5.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_asan-5a773b1fffe6c751.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_borrowck-164479080cc8772d.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_codegen_ssa-36e16c2ebd557c5b.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_codegen_utils-a48bae0acacb485e.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_cratesio_shim-d6da3f9ed42f6b5f.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_data_structures-4f5460ff3467bd33.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_demangle-546c844e8071bbeb.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_demangle-c571e3698361b498.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_driver-1aa233c0fa499347.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_errors-4cd8925058f708b9.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_fs_util-cdf2d4af48a4d8b8.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_hash-dab039160d1ae7fc.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_incremental-567a4fdbe33af894.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_interface-7691d2a4317831ca.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_lint-ddac0777c9ced2bb.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_lsan-bcfe6f943bf3a3db.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_macros-f2b013228a70c40f.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_metadata-f289cf194b04b3f9.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_mir-1828c73bde69e33b.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_msan-ffd3999f1149534e.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_passes-e0682f28cae48983.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_plugin-6bec8276dde0b5f4.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_privacy-5f93627d6eafe450.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_rayon-45df15d01be9166e.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_rayon_core-bc509e7526aad29c.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_resolve-2b19d14c3867bf72.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_save_analysis-7c9416ee095cfab0.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-47d8845cef2a3bc5.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_std_workspace_core-aee5c24fff305dea.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_target-0fd4749864b3ce5a.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_traits-051352dbf7a1f21e.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_tsan-5af25b139995eaa9.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_typeck-732835e10652d8da.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libryu-919d5311c0fa1780.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libscoped_tls-583a4be451031471.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libscopeguard-b33d2d758306f178.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libserde-2882d0235471e138.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libserde_json-fb3419596e2872d5.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libserialize-8fcbeb7fff90d36a.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libserialize-8fcbeb7fff90d36a.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libsmallvec-a7473e0177aca21a.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libstable_deref_trait-95edcbcd95f82564.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libsyntax-0268718cca0c4bfe.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libsyntax_ext-d7fa76f0184472a6.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libsyntax_pos-0380da211eff5e9a.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libtempfile-03867c2a718d0e3a.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libterm-2651f8b4eed9e86e.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libterm-2651f8b4eed9e86e.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libtermcolor-a7c37dbe6cc8c9b2.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libtest-0127509d2e54a846.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libtest-0127509d2e54a846.so
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libunicode_width-2c3a64b369c398a7.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libunicode_width-e8235f0d435d4737.rlib
> +#usr/lib/rustlib/aarch64-unknown-linux-gnu/lib/libunwind-017511bce73a530c.rlib
> +#usr/share/doc/cargo
> +#usr/share/doc/cargo/LICENSE-APACHE
> +#usr/share/doc/cargo/LICENSE-MIT
> +#usr/share/doc/cargo/LICENSE-THIRD-PARTY
> +#usr/share/doc/cargo/README.md
> +#usr/share/doc/rust
> +#usr/share/doc/rust/COPYRIGHT
> +#usr/share/doc/rust/LICENSE-APACHE
> +#usr/share/doc/rust/LICENSE-MIT
> +#usr/share/doc/rust/README.md
> +#usr/share/man/man1/cargo-bench.1
> +#usr/share/man/man1/cargo-build.1
> +#usr/share/man/man1/cargo-check.1
> +#usr/share/man/man1/cargo-clean.1
> +#usr/share/man/man1/cargo-doc.1
> +#usr/share/man/man1/cargo-fetch.1
> +#usr/share/man/man1/cargo-fix.1
> +#usr/share/man/man1/cargo-generate-lockfile.1
> +#usr/share/man/man1/cargo-help.1
> +#usr/share/man/man1/cargo-init.1
> +#usr/share/man/man1/cargo-install.1
> +#usr/share/man/man1/cargo-locate-project.1
> +#usr/share/man/man1/cargo-login.1
> +#usr/share/man/man1/cargo-metadata.1
> +#usr/share/man/man1/cargo-new.1
> +#usr/share/man/man1/cargo-owner.1
> +#usr/share/man/man1/cargo-package.1
> +#usr/share/man/man1/cargo-pkgid.1
> +#usr/share/man/man1/cargo-publish.1
> +#usr/share/man/man1/cargo-run.1
> +#usr/share/man/man1/cargo-rustc.1
> +#usr/share/man/man1/cargo-rustdoc.1
> +#usr/share/man/man1/cargo-search.1
> +#usr/share/man/man1/cargo-test.1
> +#usr/share/man/man1/cargo-uninstall.1
> +#usr/share/man/man1/cargo-update.1
> +#usr/share/man/man1/cargo-vendor.1
> +#usr/share/man/man1/cargo-verify-project.1
> +#usr/share/man/man1/cargo-version.1
> +#usr/share/man/man1/cargo-yank.1
> +#usr/share/man/man1/cargo.1
> +#usr/share/man/man1/rustc.1
> +#usr/share/man/man1/rustdoc.1
> +#usr/share/zsh
> +#usr/share/zsh/site-functions
> +#usr/share/zsh/site-functions/_cargo
> diff --git a/config/rootfiles/common/armv5tel/rust b/config/rootfiles/common/armv5tel/rust
> new file mode 100644
> index 000000000..39aa14ec3
> --- /dev/null
> +++ b/config/rootfiles/common/armv5tel/rust
> @@ -0,0 +1,239 @@
> +#usr/bin/cargo
> +#usr/bin/rust-gdb
> +#usr/bin/rust-gdbgui
> +#usr/bin/rust-lldb
> +#usr/bin/rustc
> +#usr/bin/rustdoc
> +#usr/etc
> +#usr/etc/bash_completion.d
> +#usr/etc/bash_completion.d/cargo
> +#usr/lib/libLLVM-8-rust-1.37.0-stable.so
> +#usr/lib/libarena-ceb2b0be1df82a34.so
> +#usr/lib/libfmt_macros-b20970680435d874.so
> +#usr/lib/libgraphviz-6134aa2fb7fc0ede.so
> +#usr/lib/librustc-3ccb3dbb4a17b1c0.so
> +#usr/lib/librustc_allocator-b2da80152b9c838b.so
> +#usr/lib/librustc_borrowck-164479080cc8772d.so
> +#usr/lib/librustc_codegen_ssa-36e16c2ebd557c5b.so
> +#usr/lib/librustc_codegen_utils-a48bae0acacb485e.so
> +#usr/lib/librustc_cratesio_shim-d6da3f9ed42f6b5f.so
> +#usr/lib/librustc_data_structures-4f5460ff3467bd33.so
> +#usr/lib/librustc_driver-1aa233c0fa499347.so
> +#usr/lib/librustc_errors-4cd8925058f708b9.so
> +#usr/lib/librustc_fs_util-cdf2d4af48a4d8b8.so
> +#usr/lib/librustc_incremental-567a4fdbe33af894.so
> +#usr/lib/librustc_interface-7691d2a4317831ca.so
> +#usr/lib/librustc_lint-ddac0777c9ced2bb.so
> +#usr/lib/librustc_macros-f2b013228a70c40f.so
> +#usr/lib/librustc_metadata-f289cf194b04b3f9.so
> +#usr/lib/librustc_mir-1828c73bde69e33b.so
> +#usr/lib/librustc_passes-e0682f28cae48983.so
> +#usr/lib/librustc_plugin-6bec8276dde0b5f4.so
> +#usr/lib/librustc_privacy-5f93627d6eafe450.so
> +#usr/lib/librustc_resolve-2b19d14c3867bf72.so
> +#usr/lib/librustc_save_analysis-7c9416ee095cfab0.so
> +#usr/lib/librustc_target-0fd4749864b3ce5a.so
> +#usr/lib/librustc_traits-051352dbf7a1f21e.so
> +#usr/lib/librustc_typeck-732835e10652d8da.so
> +#usr/lib/libserialize-8fcbeb7fff90d36a.so
> +#usr/lib/libstd-4a76ff35a356aedf.so
> +#usr/lib/libsyntax-0268718cca0c4bfe.so
> +#usr/lib/libsyntax_ext-d7fa76f0184472a6.so
> +#usr/lib/libsyntax_pos-0380da211eff5e9a.so
> +#usr/lib/libterm-2651f8b4eed9e86e.so
> +#usr/lib/libtest-0127509d2e54a846.so
> +#usr/lib/rustlib
> +#usr/lib/rustlib/components
> +#usr/lib/rustlib/etc
> +#usr/lib/rustlib/etc/debugger_pretty_printers_common.py
> +#usr/lib/rustlib/etc/gdb_load_rust_pretty_printers.py
> +#usr/lib/rustlib/etc/gdb_rust_pretty_printing.py
> +#usr/lib/rustlib/etc/lldb_rust_formatters.py
> +#usr/lib/rustlib/install.log
> +#usr/lib/rustlib/manifest-cargo
> +#usr/lib/rustlib/manifest-rust-std-arm-unknown-linux-gnueabi
> +#usr/lib/rustlib/manifest-rustc
> +#usr/lib/rustlib/rust-installer-version
> +#usr/lib/rustlib/uninstall.sh
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/bin
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/bin/rust-lld
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/codegen-backends
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/codegen-backends/librustc_codegen_llvm-emscripten.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/codegen-backends/librustc_codegen_llvm-llvm.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libLLVM-8-rust-1.37.0-stable.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/liballoc-580035dd98451925.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libannotate_snippets-25e8d8701c03547d.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libarena-ceb2b0be1df82a34.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libarrayvec-f106db365d780985.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libatty-740be20e4d7441ff.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libbacktrace-13217ede3d276f16.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libbacktrace-9af89337886e6db6.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libbacktrace_sys-621a9ee22da6caa1.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libbacktrace_sys-fba99e00c4e61492.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libbitflags-4a7d2efbf7a358d0.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libbyteorder-5ff68006fd3fb999.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libcc-ce0590f9ba246196.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libcfg_if-be7979c57a08057b.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libcfg_if-cddc487ade7daaa5.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libchalk_engine-69df11cdcd6bae99.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libchalk_macros-2bf52732ae8243bc.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libcompiler_builtins-9fc4b5be2ba5cc19.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libcore-8a55a4098920125a.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libcrc32fast-fc7bcda202f0f3f7.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libcrossbeam_deque-b4b71504b68d8f8b.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libcrossbeam_epoch-c664f1a3b4666115.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libcrossbeam_utils-63c4319e4aba6512.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libdatafrog-bb049e83d8396896.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libeither-d1a988cc36833269.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libena-baa918d535227ba6.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libenv_logger-ff2b1a6f19a13aac.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libflate2-1c2be25b633e6a65.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libfmt_macros-b20970680435d874.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libgetopts-c729851ce6e3efb2.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libgraphviz-6134aa2fb7fc0ede.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libhashbrown-be9569e4d599746f.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libhumantime-6e5514835e11fb0b.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libindexmap-7f10e194770d6bf3.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libitoa-438f269905bbaa51.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libjemalloc_sys-c8524fc37cd0fe80.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libjobserver-2c75db35ce15b29a.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/liblazy_static-0de2b1545b6973a2.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/liblazy_static-21ff09e0ead00dc9.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/liblibc-2299a069d4067a08.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/liblibc-d6459c4f0817c67c.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/liblock_api-c79d1a6ea5dc7713.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/liblog-18ad11d6dda4e80d.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/liblog_settings-ae8859ad47668e7f.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libmeasureme-327bb21dd04749e8.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libmemmap-954e0d1f2b0db71b.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libmemoffset-62475d073708b865.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libminiz_sys-d07d12e134a38412.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libnodrop-b315aca0ebc7a5b8.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libnum_cpus-f6407c37ef29b71f.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libowning_ref-a0b3d9e1cdab8c89.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libpanic_abort-a956b3d01e3c9a0e.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libpanic_unwind-e11c7b3b3225afe2.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libparking_lot-4b068d99c9e6fdb6.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libparking_lot_core-8c73184e7c1493fe.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libpolonius_engine-e22625b0bbda797a.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libproc_macro-4a29a6c5fe75a875.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libprofiler_builtins-b36e7b6c2d3e00eb.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libpunycode-8955eba3c43f8f2e.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libquick_error-acc678b011452377.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librand-ebc7d1f1ad312180.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librand_chacha-47ba3ac92cc46b2c.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librand_core-c1f44f472e6d23be.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librand_hc-b3cc93a39a881b5b.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librand_isaac-63fbbbd089438d27.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librand_pcg-f16fbddc311ab68e.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librand_xorshift-8cd3bbc8a0d1fb89.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libremove_dir_all-898894399d3dfed9.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librls_data-4a7aa063287c45da.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librls_span-dd90aac9099b76b5.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc-3ccb3dbb4a17b1c0.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_allocator-b2da80152b9c838b.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_apfloat-f178776c0914cec5.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_asan-5a773b1fffe6c751.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_borrowck-164479080cc8772d.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_codegen_ssa-36e16c2ebd557c5b.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_codegen_utils-a48bae0acacb485e.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_cratesio_shim-d6da3f9ed42f6b5f.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_data_structures-4f5460ff3467bd33.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_demangle-546c844e8071bbeb.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_demangle-c571e3698361b498.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_driver-1aa233c0fa499347.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_errors-4cd8925058f708b9.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_fs_util-cdf2d4af48a4d8b8.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_hash-dab039160d1ae7fc.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_incremental-567a4fdbe33af894.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_interface-7691d2a4317831ca.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_lint-ddac0777c9ced2bb.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_lsan-bcfe6f943bf3a3db.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_macros-f2b013228a70c40f.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_metadata-f289cf194b04b3f9.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_mir-1828c73bde69e33b.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_msan-ffd3999f1149534e.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_passes-e0682f28cae48983.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_plugin-6bec8276dde0b5f4.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_privacy-5f93627d6eafe450.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_rayon-45df15d01be9166e.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_rayon_core-bc509e7526aad29c.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_resolve-2b19d14c3867bf72.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_save_analysis-7c9416ee095cfab0.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_std_workspace_alloc-47d8845cef2a3bc5.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_std_workspace_core-aee5c24fff305dea.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_target-0fd4749864b3ce5a.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_traits-051352dbf7a1f21e.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_tsan-5af25b139995eaa9.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/librustc_typeck-732835e10652d8da.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libryu-919d5311c0fa1780.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libscoped_tls-583a4be451031471.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libscopeguard-b33d2d758306f178.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libserde-2882d0235471e138.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libserde_json-fb3419596e2872d5.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libserialize-8fcbeb7fff90d36a.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libserialize-8fcbeb7fff90d36a.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libsmallvec-a7473e0177aca21a.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libstable_deref_trait-95edcbcd95f82564.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libstd-4a76ff35a356aedf.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libstd-4a76ff35a356aedf.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libsyntax-0268718cca0c4bfe.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libsyntax_ext-d7fa76f0184472a6.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libsyntax_pos-0380da211eff5e9a.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libtempfile-03867c2a718d0e3a.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libterm-2651f8b4eed9e86e.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libterm-2651f8b4eed9e86e.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libtermcolor-a7c37dbe6cc8c9b2.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libtest-0127509d2e54a846.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libtest-0127509d2e54a846.so
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libunicode_width-2c3a64b369c398a7.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libunicode_width-e8235f0d435d4737.rlib
> +#usr/lib/rustlib/arm-unknown-linux-gnueabi/lib/libunwind-017511bce73a530c.rlib
> +#usr/share/doc/cargo
> +#usr/share/doc/cargo/LICENSE-APACHE
> +#usr/share/doc/cargo/LICENSE-MIT
> +#usr/share/doc/cargo/LICENSE-THIRD-PARTY
> +#usr/share/doc/cargo/README.md
> +#usr/share/doc/rust
> +#usr/share/doc/rust/COPYRIGHT
> +#usr/share/doc/rust/LICENSE-APACHE
> +#usr/share/doc/rust/LICENSE-MIT
> +#usr/share/doc/rust/README.md
> +#usr/share/man/man1/cargo-bench.1
> +#usr/share/man/man1/cargo-build.1
> +#usr/share/man/man1/cargo-check.1
> +#usr/share/man/man1/cargo-clean.1
> +#usr/share/man/man1/cargo-doc.1
> +#usr/share/man/man1/cargo-fetch.1
> +#usr/share/man/man1/cargo-fix.1
> +#usr/share/man/man1/cargo-generate-lockfile.1
> +#usr/share/man/man1/cargo-help.1
> +#usr/share/man/man1/cargo-init.1
> +#usr/share/man/man1/cargo-install.1
> +#usr/share/man/man1/cargo-locate-project.1
> +#usr/share/man/man1/cargo-login.1
> +#usr/share/man/man1/cargo-metadata.1
> +#usr/share/man/man1/cargo-new.1
> +#usr/share/man/man1/cargo-owner.1
> +#usr/share/man/man1/cargo-package.1
> +#usr/share/man/man1/cargo-pkgid.1
> +#usr/share/man/man1/cargo-publish.1
> +#usr/share/man/man1/cargo-run.1
> +#usr/share/man/man1/cargo-rustc.1
> +#usr/share/man/man1/cargo-rustdoc.1
> +#usr/share/man/man1/cargo-search.1
> +#usr/share/man/man1/cargo-test.1
> +#usr/share/man/man1/cargo-uninstall.1
> +#usr/share/man/man1/cargo-update.1
> +#usr/share/man/man1/cargo-vendor.1
> +#usr/share/man/man1/cargo-verify-project.1
> +#usr/share/man/man1/cargo-version.1
> +#usr/share/man/man1/cargo-yank.1
> +#usr/share/man/man1/cargo.1
> +#usr/share/man/man1/rustc.1
> +#usr/share/man/man1/rustdoc.1
> +#usr/share/zsh
> +#usr/share/zsh/site-functions
> +#usr/share/zsh/site-functions/_cargo
> diff --git a/config/rootfiles/common/i586/rust b/config/rootfiles/common/i586/rust
> new file mode 100644
> index 000000000..ebbb2061a
> --- /dev/null
> +++ b/config/rootfiles/common/i586/rust
> @@ -0,0 +1,239 @@
> +#usr/bin/cargo
> +#usr/bin/rust-gdb
> +#usr/bin/rust-gdbgui
> +#usr/bin/rust-lldb
> +#usr/bin/rustc
> +#usr/bin/rustdoc
> +#usr/etc
> +#usr/etc/bash_completion.d
> +#usr/etc/bash_completion.d/cargo
> +#usr/lib/libLLVM-8-rust-1.37.0-stable.so
> +#usr/lib/libarena-ceb2b0be1df82a34.so
> +#usr/lib/libfmt_macros-b20970680435d874.so
> +#usr/lib/libgraphviz-6134aa2fb7fc0ede.so
> +#usr/lib/librustc-3ccb3dbb4a17b1c0.so
> +#usr/lib/librustc_allocator-b2da80152b9c838b.so
> +#usr/lib/librustc_borrowck-164479080cc8772d.so
> +#usr/lib/librustc_codegen_ssa-36e16c2ebd557c5b.so
> +#usr/lib/librustc_codegen_utils-a48bae0acacb485e.so
> +#usr/lib/librustc_cratesio_shim-d6da3f9ed42f6b5f.so
> +#usr/lib/librustc_data_structures-4f5460ff3467bd33.so
> +#usr/lib/librustc_driver-1aa233c0fa499347.so
> +#usr/lib/librustc_errors-4cd8925058f708b9.so
> +#usr/lib/librustc_fs_util-cdf2d4af48a4d8b8.so
> +#usr/lib/librustc_incremental-567a4fdbe33af894.so
> +#usr/lib/librustc_interface-7691d2a4317831ca.so
> +#usr/lib/librustc_lint-ddac0777c9ced2bb.so
> +#usr/lib/librustc_macros-f2b013228a70c40f.so
> +#usr/lib/librustc_metadata-f289cf194b04b3f9.so
> +#usr/lib/librustc_mir-1828c73bde69e33b.so
> +#usr/lib/librustc_passes-e0682f28cae48983.so
> +#usr/lib/librustc_plugin-6bec8276dde0b5f4.so
> +#usr/lib/librustc_privacy-5f93627d6eafe450.so
> +#usr/lib/librustc_resolve-2b19d14c3867bf72.so
> +#usr/lib/librustc_save_analysis-7c9416ee095cfab0.so
> +#usr/lib/librustc_target-0fd4749864b3ce5a.so
> +#usr/lib/librustc_traits-051352dbf7a1f21e.so
> +#usr/lib/librustc_typeck-732835e10652d8da.so
> +#usr/lib/libserialize-8fcbeb7fff90d36a.so
> +#usr/lib/libstd-4a76ff35a356aedf.so
> +#usr/lib/libsyntax-0268718cca0c4bfe.so
> +#usr/lib/libsyntax_ext-d7fa76f0184472a6.so
> +#usr/lib/libsyntax_pos-0380da211eff5e9a.so
> +#usr/lib/libterm-2651f8b4eed9e86e.so
> +#usr/lib/libtest-0127509d2e54a846.so
> +#usr/lib/rustlib
> +#usr/lib/rustlib/components
> +#usr/lib/rustlib/etc
> +#usr/lib/rustlib/etc/debugger_pretty_printers_common.py
> +#usr/lib/rustlib/etc/gdb_load_rust_pretty_printers.py
> +#usr/lib/rustlib/etc/gdb_rust_pretty_printing.py
> +#usr/lib/rustlib/etc/lldb_rust_formatters.py
> +#usr/lib/rustlib/install.log
> +#usr/lib/rustlib/manifest-cargo
> +#usr/lib/rustlib/manifest-rust-std-i686-unknown-linux-gnu
> +#usr/lib/rustlib/manifest-rustc
> +#usr/lib/rustlib/rust-installer-version
> +#usr/lib/rustlib/uninstall.sh
> +#usr/lib/rustlib/i686-unknown-linux-gnu
> +#usr/lib/rustlib/i686-unknown-linux-gnu/bin
> +#usr/lib/rustlib/i686-unknown-linux-gnu/bin/rust-lld
> +#usr/lib/rustlib/i686-unknown-linux-gnu/codegen-backends
> +#usr/lib/rustlib/i686-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-emscripten.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libLLVM-8-rust-1.37.0-stable.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/liballoc-580035dd98451925.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libannotate_snippets-25e8d8701c03547d.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libarena-ceb2b0be1df82a34.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libarrayvec-f106db365d780985.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libatty-740be20e4d7441ff.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-13217ede3d276f16.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace-9af89337886e6db6.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace_sys-621a9ee22da6caa1.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbacktrace_sys-fba99e00c4e61492.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbitflags-4a7d2efbf7a358d0.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libbyteorder-5ff68006fd3fb999.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcc-ce0590f9ba246196.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcfg_if-be7979c57a08057b.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcfg_if-cddc487ade7daaa5.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_engine-69df11cdcd6bae99.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libchalk_macros-2bf52732ae8243bc.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcompiler_builtins-9fc4b5be2ba5cc19.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcore-8a55a4098920125a.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrc32fast-fc7bcda202f0f3f7.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_deque-b4b71504b68d8f8b.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_epoch-c664f1a3b4666115.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcrossbeam_utils-63c4319e4aba6512.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libdatafrog-bb049e83d8396896.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libeither-d1a988cc36833269.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libena-baa918d535227ba6.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libenv_logger-ff2b1a6f19a13aac.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libflate2-1c2be25b633e6a65.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libfmt_macros-b20970680435d874.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libgetopts-c729851ce6e3efb2.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libgraphviz-6134aa2fb7fc0ede.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libhashbrown-be9569e4d599746f.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libhumantime-6e5514835e11fb0b.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libindexmap-7f10e194770d6bf3.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libitoa-438f269905bbaa51.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjemalloc_sys-c8524fc37cd0fe80.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libjobserver-2c75db35ce15b29a.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblazy_static-0de2b1545b6973a2.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblazy_static-21ff09e0ead00dc9.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblibc-2299a069d4067a08.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblibc-d6459c4f0817c67c.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblock_api-c79d1a6ea5dc7713.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog-18ad11d6dda4e80d.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblog_settings-ae8859ad47668e7f.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libmeasureme-327bb21dd04749e8.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libmemmap-954e0d1f2b0db71b.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libmemoffset-62475d073708b865.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libminiz_sys-d07d12e134a38412.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnodrop-b315aca0ebc7a5b8.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libnum_cpus-f6407c37ef29b71f.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libowning_ref-a0b3d9e1cdab8c89.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpanic_abort-a956b3d01e3c9a0e.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpanic_unwind-e11c7b3b3225afe2.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot-4b068d99c9e6fdb6.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libparking_lot_core-8c73184e7c1493fe.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpolonius_engine-e22625b0bbda797a.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libproc_macro-4a29a6c5fe75a875.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libprofiler_builtins-b36e7b6c2d3e00eb.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpunycode-8955eba3c43f8f2e.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libquick_error-acc678b011452377.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-ebc7d1f1ad312180.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_chacha-47ba3ac92cc46b2c.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_core-c1f44f472e6d23be.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_hc-b3cc93a39a881b5b.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_isaac-63fbbbd089438d27.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_pcg-f16fbddc311ab68e.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand_xorshift-8cd3bbc8a0d1fb89.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libremove_dir_all-898894399d3dfed9.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_data-4a7aa063287c45da.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librls_span-dd90aac9099b76b5.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc-3ccb3dbb4a17b1c0.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_allocator-b2da80152b9c838b.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_apfloat-f178776c0914cec5.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_asan-5a773b1fffe6c751.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_borrowck-164479080cc8772d.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_codegen_ssa-36e16c2ebd557c5b.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_codegen_utils-a48bae0acacb485e.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_cratesio_shim-d6da3f9ed42f6b5f.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_data_structures-4f5460ff3467bd33.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_demangle-546c844e8071bbeb.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_demangle-c571e3698361b498.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_driver-1aa233c0fa499347.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_errors-4cd8925058f708b9.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_fs_util-cdf2d4af48a4d8b8.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_hash-dab039160d1ae7fc.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_incremental-567a4fdbe33af894.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_interface-7691d2a4317831ca.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_lint-ddac0777c9ced2bb.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_lsan-bcfe6f943bf3a3db.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_macros-f2b013228a70c40f.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_metadata-f289cf194b04b3f9.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_mir-1828c73bde69e33b.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_msan-ffd3999f1149534e.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_passes-e0682f28cae48983.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_plugin-6bec8276dde0b5f4.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_privacy-5f93627d6eafe450.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon-45df15d01be9166e.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_rayon_core-bc509e7526aad29c.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_resolve-2b19d14c3867bf72.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_save_analysis-7c9416ee095cfab0.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_std_workspace_alloc-47d8845cef2a3bc5.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_std_workspace_core-aee5c24fff305dea.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_target-0fd4749864b3ce5a.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_traits-051352dbf7a1f21e.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_tsan-5af25b139995eaa9.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_typeck-732835e10652d8da.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libryu-919d5311c0fa1780.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libscoped_tls-583a4be451031471.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libscopeguard-b33d2d758306f178.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserde-2882d0235471e138.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserde_json-fb3419596e2872d5.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-8fcbeb7fff90d36a.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libserialize-8fcbeb7fff90d36a.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libsmallvec-a7473e0177aca21a.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libstable_deref_trait-95edcbcd95f82564.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libsyntax-0268718cca0c4bfe.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libsyntax_ext-d7fa76f0184472a6.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libsyntax_pos-0380da211eff5e9a.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtempfile-03867c2a718d0e3a.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libterm-2651f8b4eed9e86e.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libterm-2651f8b4eed9e86e.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtermcolor-a7c37dbe6cc8c9b2.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtest-0127509d2e54a846.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libtest-0127509d2e54a846.so
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libunicode_width-2c3a64b369c398a7.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libunicode_width-e8235f0d435d4737.rlib
> +#usr/lib/rustlib/i686-unknown-linux-gnu/lib/libunwind-017511bce73a530c.rlib
> +#usr/share/doc/cargo
> +#usr/share/doc/cargo/LICENSE-APACHE
> +#usr/share/doc/cargo/LICENSE-MIT
> +#usr/share/doc/cargo/LICENSE-THIRD-PARTY
> +#usr/share/doc/cargo/README.md
> +#usr/share/doc/rust
> +#usr/share/doc/rust/COPYRIGHT
> +#usr/share/doc/rust/LICENSE-APACHE
> +#usr/share/doc/rust/LICENSE-MIT
> +#usr/share/doc/rust/README.md
> +#usr/share/man/man1/cargo-bench.1
> +#usr/share/man/man1/cargo-build.1
> +#usr/share/man/man1/cargo-check.1
> +#usr/share/man/man1/cargo-clean.1
> +#usr/share/man/man1/cargo-doc.1
> +#usr/share/man/man1/cargo-fetch.1
> +#usr/share/man/man1/cargo-fix.1
> +#usr/share/man/man1/cargo-generate-lockfile.1
> +#usr/share/man/man1/cargo-help.1
> +#usr/share/man/man1/cargo-init.1
> +#usr/share/man/man1/cargo-install.1
> +#usr/share/man/man1/cargo-locate-project.1
> +#usr/share/man/man1/cargo-login.1
> +#usr/share/man/man1/cargo-metadata.1
> +#usr/share/man/man1/cargo-new.1
> +#usr/share/man/man1/cargo-owner.1
> +#usr/share/man/man1/cargo-package.1
> +#usr/share/man/man1/cargo-pkgid.1
> +#usr/share/man/man1/cargo-publish.1
> +#usr/share/man/man1/cargo-run.1
> +#usr/share/man/man1/cargo-rustc.1
> +#usr/share/man/man1/cargo-rustdoc.1
> +#usr/share/man/man1/cargo-search.1
> +#usr/share/man/man1/cargo-test.1
> +#usr/share/man/man1/cargo-uninstall.1
> +#usr/share/man/man1/cargo-update.1
> +#usr/share/man/man1/cargo-vendor.1
> +#usr/share/man/man1/cargo-verify-project.1
> +#usr/share/man/man1/cargo-version.1
> +#usr/share/man/man1/cargo-yank.1
> +#usr/share/man/man1/cargo.1
> +#usr/share/man/man1/rustc.1
> +#usr/share/man/man1/rustdoc.1
> +#usr/share/zsh
> +#usr/share/zsh/site-functions
> +#usr/share/zsh/site-functions/_cargo
> diff --git a/config/rootfiles/common/x86_64/rust b/config/rootfiles/common/x86_64/rust
> new file mode 100644
> index 000000000..103d1e028
> --- /dev/null
> +++ b/config/rootfiles/common/x86_64/rust
> @@ -0,0 +1,239 @@
> +#usr/bin/cargo
> +#usr/bin/rust-gdb
> +#usr/bin/rust-gdbgui
> +#usr/bin/rust-lldb
> +#usr/bin/rustc
> +#usr/bin/rustdoc
> +#usr/etc
> +#usr/etc/bash_completion.d
> +#usr/etc/bash_completion.d/cargo
> +#usr/lib/libLLVM-8-rust-1.37.0-stable.so
> +#usr/lib/libarena-ceb2b0be1df82a34.so
> +#usr/lib/libfmt_macros-b20970680435d874.so
> +#usr/lib/libgraphviz-6134aa2fb7fc0ede.so
> +#usr/lib/librustc-3ccb3dbb4a17b1c0.so
> +#usr/lib/librustc_allocator-b2da80152b9c838b.so
> +#usr/lib/librustc_borrowck-164479080cc8772d.so
> +#usr/lib/librustc_codegen_ssa-36e16c2ebd557c5b.so
> +#usr/lib/librustc_codegen_utils-a48bae0acacb485e.so
> +#usr/lib/librustc_cratesio_shim-d6da3f9ed42f6b5f.so
> +#usr/lib/librustc_data_structures-4f5460ff3467bd33.so
> +#usr/lib/librustc_driver-1aa233c0fa499347.so
> +#usr/lib/librustc_errors-4cd8925058f708b9.so
> +#usr/lib/librustc_fs_util-cdf2d4af48a4d8b8.so
> +#usr/lib/librustc_incremental-567a4fdbe33af894.so
> +#usr/lib/librustc_interface-7691d2a4317831ca.so
> +#usr/lib/librustc_lint-ddac0777c9ced2bb.so
> +#usr/lib/librustc_macros-f2b013228a70c40f.so
> +#usr/lib/librustc_metadata-f289cf194b04b3f9.so
> +#usr/lib/librustc_mir-1828c73bde69e33b.so
> +#usr/lib/librustc_passes-e0682f28cae48983.so
> +#usr/lib/librustc_plugin-6bec8276dde0b5f4.so
> +#usr/lib/librustc_privacy-5f93627d6eafe450.so
> +#usr/lib/librustc_resolve-2b19d14c3867bf72.so
> +#usr/lib/librustc_save_analysis-7c9416ee095cfab0.so
> +#usr/lib/librustc_target-0fd4749864b3ce5a.so
> +#usr/lib/librustc_traits-051352dbf7a1f21e.so
> +#usr/lib/librustc_typeck-732835e10652d8da.so
> +#usr/lib/libserialize-8fcbeb7fff90d36a.so
> +#usr/lib/libstd-4a76ff35a356aedf.so
> +#usr/lib/libsyntax-0268718cca0c4bfe.so
> +#usr/lib/libsyntax_ext-d7fa76f0184472a6.so
> +#usr/lib/libsyntax_pos-0380da211eff5e9a.so
> +#usr/lib/libterm-2651f8b4eed9e86e.so
> +#usr/lib/libtest-0127509d2e54a846.so
> +#usr/lib/rustlib
> +#usr/lib/rustlib/components
> +#usr/lib/rustlib/etc
> +#usr/lib/rustlib/etc/debugger_pretty_printers_common.py
> +#usr/lib/rustlib/etc/gdb_load_rust_pretty_printers.py
> +#usr/lib/rustlib/etc/gdb_rust_pretty_printing.py
> +#usr/lib/rustlib/etc/lldb_rust_formatters.py
> +#usr/lib/rustlib/install.log
> +#usr/lib/rustlib/manifest-cargo
> +#usr/lib/rustlib/manifest-rust-std-x86_64-unknown-linux-gnu
> +#usr/lib/rustlib/manifest-rustc
> +#usr/lib/rustlib/rust-installer-version
> +#usr/lib/rustlib/uninstall.sh
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/bin
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/rust-lld
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-emscripten.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libLLVM-8-rust-1.37.0-stable.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-580035dd98451925.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libannotate_snippets-25e8d8701c03547d.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libarena-ceb2b0be1df82a34.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libarrayvec-f106db365d780985.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libatty-740be20e4d7441ff.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-13217ede3d276f16.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-9af89337886e6db6.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-621a9ee22da6caa1.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-fba99e00c4e61492.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbitflags-4a7d2efbf7a358d0.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbyteorder-5ff68006fd3fb999.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcc-ce0590f9ba246196.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-be7979c57a08057b.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-cddc487ade7daaa5.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libchalk_engine-69df11cdcd6bae99.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libchalk_macros-2bf52732ae8243bc.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9fc4b5be2ba5cc19.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8a55a4098920125a.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcrc32fast-fc7bcda202f0f3f7.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcrossbeam_deque-b4b71504b68d8f8b.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcrossbeam_epoch-c664f1a3b4666115.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcrossbeam_utils-63c4319e4aba6512.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libdatafrog-bb049e83d8396896.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libeither-d1a988cc36833269.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libena-baa918d535227ba6.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libenv_logger-ff2b1a6f19a13aac.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libflate2-1c2be25b633e6a65.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-b20970680435d874.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-c729851ce6e3efb2.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgraphviz-6134aa2fb7fc0ede.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-be9569e4d599746f.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhumantime-6e5514835e11fb0b.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libindexmap-7f10e194770d6bf3.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libitoa-438f269905bbaa51.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libjemalloc_sys-c8524fc37cd0fe80.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libjobserver-2c75db35ce15b29a.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblazy_static-0de2b1545b6973a2.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblazy_static-21ff09e0ead00dc9.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-2299a069d4067a08.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d6459c4f0817c67c.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblock_api-c79d1a6ea5dc7713.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-18ad11d6dda4e80d.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog_settings-ae8859ad47668e7f.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmeasureme-327bb21dd04749e8.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemmap-954e0d1f2b0db71b.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemoffset-62475d073708b865.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_sys-d07d12e134a38412.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libnodrop-b315aca0ebc7a5b8.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libnum_cpus-f6407c37ef29b71f.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libowning_ref-a0b3d9e1cdab8c89.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_abort-a956b3d01e3c9a0e.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e11c7b3b3225afe2.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libparking_lot-4b068d99c9e6fdb6.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libparking_lot_core-8c73184e7c1493fe.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpolonius_engine-e22625b0bbda797a.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libproc_macro-4a29a6c5fe75a875.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libprofiler_builtins-b36e7b6c2d3e00eb.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpunycode-8955eba3c43f8f2e.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libquick_error-acc678b011452377.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-ebc7d1f1ad312180.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand_chacha-47ba3ac92cc46b2c.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand_core-c1f44f472e6d23be.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand_hc-b3cc93a39a881b5b.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand_isaac-63fbbbd089438d27.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand_pcg-f16fbddc311ab68e.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand_xorshift-8cd3bbc8a0d1fb89.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libremove_dir_all-898894399d3dfed9.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librls_data-4a7aa063287c45da.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librls_span-dd90aac9099b76b5.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-3ccb3dbb4a17b1c0.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_allocator-b2da80152b9c838b.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_apfloat-f178776c0914cec5.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_asan-5a773b1fffe6c751.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_borrowck-164479080cc8772d.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_codegen_ssa-36e16c2ebd557c5b.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_codegen_utils-a48bae0acacb485e.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_cratesio_shim-d6da3f9ed42f6b5f.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_data_structures-4f5460ff3467bd33.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-546c844e8071bbeb.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c571e3698361b498.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_driver-1aa233c0fa499347.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_errors-4cd8925058f708b9.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_fs_util-cdf2d4af48a4d8b8.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_hash-dab039160d1ae7fc.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_incremental-567a4fdbe33af894.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_interface-7691d2a4317831ca.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_lint-ddac0777c9ced2bb.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_lsan-bcfe6f943bf3a3db.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_macros-f2b013228a70c40f.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_metadata-f289cf194b04b3f9.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_mir-1828c73bde69e33b.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_msan-ffd3999f1149534e.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_passes-e0682f28cae48983.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_plugin-6bec8276dde0b5f4.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_privacy-5f93627d6eafe450.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_rayon-45df15d01be9166e.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_rayon_core-bc509e7526aad29c.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_resolve-2b19d14c3867bf72.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_save_analysis-7c9416ee095cfab0.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-47d8845cef2a3bc5.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-aee5c24fff305dea.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_target-0fd4749864b3ce5a.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_traits-051352dbf7a1f21e.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_tsan-5af25b139995eaa9.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_typeck-732835e10652d8da.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libryu-919d5311c0fa1780.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libscoped_tls-583a4be451031471.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libscopeguard-b33d2d758306f178.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserde-2882d0235471e138.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserde_json-fb3419596e2872d5.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-8fcbeb7fff90d36a.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-8fcbeb7fff90d36a.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsmallvec-a7473e0177aca21a.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstable_deref_trait-95edcbcd95f82564.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-0268718cca0c4bfe.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax_ext-d7fa76f0184472a6.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax_pos-0380da211eff5e9a.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtempfile-03867c2a718d0e3a.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-2651f8b4eed9e86e.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-2651f8b4eed9e86e.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtermcolor-a7c37dbe6cc8c9b2.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-0127509d2e54a846.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-0127509d2e54a846.so
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-2c3a64b369c398a7.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-e8235f0d435d4737.rlib
> +#usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-017511bce73a530c.rlib
> +#usr/share/doc/cargo
> +#usr/share/doc/cargo/LICENSE-APACHE
> +#usr/share/doc/cargo/LICENSE-MIT
> +#usr/share/doc/cargo/LICENSE-THIRD-PARTY
> +#usr/share/doc/cargo/README.md
> +#usr/share/doc/rust
> +#usr/share/doc/rust/COPYRIGHT
> +#usr/share/doc/rust/LICENSE-APACHE
> +#usr/share/doc/rust/LICENSE-MIT
> +#usr/share/doc/rust/README.md
> +#usr/share/man/man1/cargo-bench.1
> +#usr/share/man/man1/cargo-build.1
> +#usr/share/man/man1/cargo-check.1
> +#usr/share/man/man1/cargo-clean.1
> +#usr/share/man/man1/cargo-doc.1
> +#usr/share/man/man1/cargo-fetch.1
> +#usr/share/man/man1/cargo-fix.1
> +#usr/share/man/man1/cargo-generate-lockfile.1
> +#usr/share/man/man1/cargo-help.1
> +#usr/share/man/man1/cargo-init.1
> +#usr/share/man/man1/cargo-install.1
> +#usr/share/man/man1/cargo-locate-project.1
> +#usr/share/man/man1/cargo-login.1
> +#usr/share/man/man1/cargo-metadata.1
> +#usr/share/man/man1/cargo-new.1
> +#usr/share/man/man1/cargo-owner.1
> +#usr/share/man/man1/cargo-package.1
> +#usr/share/man/man1/cargo-pkgid.1
> +#usr/share/man/man1/cargo-publish.1
> +#usr/share/man/man1/cargo-run.1
> +#usr/share/man/man1/cargo-rustc.1
> +#usr/share/man/man1/cargo-rustdoc.1
> +#usr/share/man/man1/cargo-search.1
> +#usr/share/man/man1/cargo-test.1
> +#usr/share/man/man1/cargo-uninstall.1
> +#usr/share/man/man1/cargo-update.1
> +#usr/share/man/man1/cargo-vendor.1
> +#usr/share/man/man1/cargo-verify-project.1
> +#usr/share/man/man1/cargo-version.1
> +#usr/share/man/man1/cargo-yank.1
> +#usr/share/man/man1/cargo.1
> +#usr/share/man/man1/rustc.1
> +#usr/share/man/man1/rustdoc.1
> +#usr/share/zsh
> +#usr/share/zsh/site-functions
> +#usr/share/zsh/site-functions/_cargo
> diff --git a/lfs/rust b/lfs/rust
> new file mode 100644
> index 000000000..289387133
> --- /dev/null
> +++ b/lfs/rust
> @@ -0,0 +1,92 @@
> +###############################################################################
> +# #
> +# IPFire.org - A linux based firewall #
> +# Copyright (C) 2007-2018 IPFire Team <info(a)ipfire.org> #
> +# #
> +# This program is free software: you can redistribute it and/or modify #
> +# it under the terms of the GNU General Public License as published by #
> +# the Free Software Foundation, either version 3 of the License, or #
> +# (at your option) any later version. #
> +# #
> +# This program is distributed in the hope that it will be useful, #
> +# but WITHOUT ANY WARRANTY; without even the implied warranty of #
> +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
> +# GNU General Public License for more details. #
> +# #
> +# You should have received a copy of the GNU General Public License #
> +# along with this program. If not, see <http://www.gnu.org/licenses/>. #
> +# #
> +###############################################################################
> +
> +###############################################################################
> +# Definitions
> +###############################################################################
> +
> +include Config
> +
> +VER = 1.37.0
> +
> +THISAPP = rust-$(VER)
> +DL_FILE = $(THISAPP)-$(RUST_BOOTSTRAP).tar.gz
> +DL_FROM = $(URL_IPFIRE)
> +DIR_APP = $(DIR_SRC)/$(THISAPP)-$(RUST_BOOTSTRAP)
> +TARGET = $(DIR_INFO)/$(THISAPP)
> +
> +ifeq "$(BUILD_ARCH)" "i586"
> + RUST_ARCH = i686
> +else
> + RUST_ARCH = $(BUILD_ARCH)
> +endif
> +
> +ifeq "$(BUILD_ARCH)" "armv5tel"
> + RUST_BOOTSTRAP = arm-unknown-linux-gnueabi
> +else
> + RUST_BOOTSTRAP = $(RUST_ARCH)-unknown-linux-gnu
> +endif
> +
> +###############################################################################
> +# Top-level Rules
> +###############################################################################
> +
> +objects = $(DL_FILE)
> +
> +$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
> +
> +$(DL_FILE)_MD5 = 3f84df04bd0cf0ea4668390be263945e
> +
> +install : $(TARGET)
> +
> +check : $(patsubst %,$(DIR_CHK)/%,$(objects))
> +
> +download :$(patsubst %,$(DIR_DL)/%,$(objects))
> +
> +md5 : $(subst %,%_MD5,$(objects))
> +
> +###############################################################################
> +# Downloading, checking, md5sum
> +###############################################################################
> +
> +$(patsubst %,$(DIR_CHK)/%,$(objects)) :
> + @$(CHECK)
> +
> +$(patsubst %,$(DIR_DL)/%,$(objects)) :
> + @$(LOAD)
> +
> +$(subst %,%_MD5,$(objects)) :
> + @$(MD5)
> +
> +###############################################################################
> +# Installation Details
> +###############################################################################
> +
> +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
> + @$(PREBUILD)
> + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
> +
> + cd $(DIR_APP) && ./install.sh \
> + --components=cargo,rustc,rust-std-$(RUST_BOOTSTRAP) \
> + --prefix=/usr \
> + --disable-ldconfig
> +
> + @rm -rf $(DIR_APP)
> + @$(POSTBUILD)
> diff --git a/make.sh b/make.sh
> index cf2e43874..4d4bcd98d 100755
> --- a/make.sh
> +++ b/make.sh
> @@ -1343,6 +1343,7 @@ buildipfire() {
> lfsmake2 setserial
> lfsmake2 setup
> lfsmake2 libdnet
> + lfsmake2 rust
> lfsmake2 jansson
> lfsmake2 yaml
> lfsmake2 libhtp
> --
> 2.20.1
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] Rust: New package.
2019-09-02 12:44 [PATCH 1/2] Rust: " Stefan Schantl
@ 2019-09-02 13:16 ` Stefan Schantl
0 siblings, 0 replies; 5+ messages in thread
From: Stefan Schantl @ 2019-09-02 13:16 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 6111 bytes --]
This rust patch is broken.
Please use the PATCHv2 one.
Thanks in advance,
-Stefan
> Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
> ---
> rust/rust.nm | 175
> +++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 175 insertions(+)
> create mode 100644 rust/rust.nm
>
> diff --git a/rust/rust.nm b/rust/rust.nm
> new file mode 100644
> index 000000000..96f198f85
> --- /dev/null
> +++ b/rust/rust.nm
> @@ -0,0 +1,175 @@
> +####################################################################
> ###########
> +# IPFire.org - An Open Source Firewall
> Solution #
> +# Copyright (C) - IPFire Development Team <info(a)ipfire.org>
> #
> +####################################################################
> ###########
> +
> +name = rust
> +version = 1.37.0
> +release = 1
> +
> +groups = Applications/System
> +url = https://www.rust-lang.org/
> +license =
> +summary = A language empowering everyone to build reliable and
> efficient software.
> +
> +description
> +
> +end
> +
> +source_dl = https://static.rust-lang.org/dist/
> +sources = rustc-%{version}-src.tar.gz
> +
> +# For building rustc a bootstrapped rust toolchain has to be
> downloaded and used.
> +if %{DISTRO_ARCH} == "armv7hl"
> + rust_bootstrap = armv7-unknown-linux-gnueabihf
> +elif %{DISTRO_ARCH} == "armv5tel"
> + rust_bootstrap = arm-unknown-linux-gnueabi
> +else
> + rust_bootstrap = %{DISTRO_ARCH}-unknown-linux-gnu
> +end
> +
> +sources += rust-%{version}-%{rust_bootstrap}.tar.gz
> +
> +build
> + requires
> + /usr/bin/llvm-config
> + /usr/bin/FileCheck
> + cmake
> + libcurl-devel >= 7.65.3
> + llvm
> + libffi-devel
> + libgit2-devel
> + libssh2-devel
> + openssl-devel
> + pakfire >= 0.9.27-3
> + python3
> + xz-devel
> + zlib-devel
> + end
> +
> + local_rust_root = "/opt"
> + rustlibdir = "%{libdir}/rustlib"
> +
> + DIR_APP = %{DIR_SRC}/rustc-%{version}-src
> + DIR_BOOTSTRAPPED = %{DIR_SRC}/rust-%{version}-%{rust_bootstrap}
> +
> + configure_options +=\
> + --build=%{rust_bootstrap} \
> + --host=%{rust_bootstrap} \
> + --target=%{rust_bootstrap} \
> + --disable-option-checking \
> + --local-rust-root=%{local_rust_root} \
> + --llvm-root=%{prefix} \
> + --enable-llvm-link-shared \
> + --disable-rpath \
> + --enable-extended \
> + --enable-vendor \
> + --release-channel="stable"
> +
> + prepare_cmds
> + # Install precompiled rust toolchain.
> + cd %{DIR_BOOTSTRAPPED}
> +
> + ./install.sh --components=cargo,rustc,rust-std-
> %{rust_bootstrap} \
> + --prefix=%{local_rust_root} --disable-ldconfig
> +
> + # Test if the bootstrapped tools correctly have been
> installed.
> + test -f %{local_rust_root}/bin/cargo
> + test -f %{local_rust_root}/bin/rustc
> + end
> +
> + build
> + # Change into main rust source directory.
> + cd %{DIR_APP}
> +
> + # Do not build with shipped llvm and llvm-emscripten.
> + rm -rf src/llvm-project/
> + rm -rf src/llvm-emscripten/
> +
> + # Remove other unused vendored libraries
> + rm -rf vendor/curl-sys/curl/
> + rm -rf vendor/jemalloc-sys/jemalloc/
> + rm -rf vendor/libz-sys/src/zlib/
> + rm -rf vendor/lzma-sys/xz-*/
> + rm -rf vendor/openssl-src/openssl/
> +
> + # Use the distro libgit2
> + export LIBGIT2_SYS_USE_PKG_CONFIG=1
> + rm -rf vendor/libgit2-sys/libgit2/
> +
> + # Use the distro libssh2
> + export LIBSSH2_SYS_USE_PKG_CONFIG=1
> + rm -rf vendor/libssh2-sys/libssh2/
> +
> + # Use the dynamic xz-libs
> + sed -i.lzma -e '/LZMA_API_STATIC/d'
> src/bootstrap/tool.rs
> +
> + # The configure macro will modify some autoconf-related
> files, which upsets
> + # cargo when it tries to verify checksums in those
> files. If we just truncate
> + # that file list, cargo won't have anything to complain
> about.
> + find vendor -name .cargo-checksum.json \
> + -exec sed -i.uncheck -e
> 's/"files":{[^}]*}/"files":{ }/' '{}' '+'
> +
> + # Launch configure script
> + ./configure %{configure_options}
> +
> + # Build rust.
> + %{python3} ./x.py build --exclude src/tools/miri
> + end
> +
> + install
> + DESTDIR=%{BUILDROOT} %{python3} ./x.py install
> +
> + # The shared libraries should be executable for
> debuginfo extraction.
> + find %{BUILDROOT}%{libdir} -maxdepth 1 -type f -name
> '*.so' -exec chmod -v +x '{}' '+'
> +
> + # The libdir libraries are identical to those under
> rustlib/. It's easier on
> + # library loading if we keep them in libdir, but we do
> need them in rustlib/
> + # to support dynamic linking for compiler plugins, so
> we'll symlink.
> + (
> + cd
> %{BUILDROOT}%{rustlibdir}/%{rust_bootstrap}/lib
> +
> + for i in *.so; do
> + [ -f
> %{BUILDROOT}%{rustlibdir}/%{rust_bootstrap}/lib/${i} ] && ln -svf
> ../../../${i} \
> + %{BUILDROOT}%{rustlibdir}/%{rus
> t_bootstrap}/lib/${i};
> + done
> + )
> +
> + # Remove installer artifacts (manifests, uninstall
> scripts, etc.)
> + find %{BUILDROOT}%{rustlibdir} -maxdepth 1 -type f
> -exec rm -v '{}' '+'
> +
> + # Remove backup files from %%configure munging
> + find %{BUILDROOT}%{rustlibdir} -type f -name '*.orig'
> -exec rm -v '{}' '+'
> +
> + # Remove documentation files.
> + rm -rvf %{BUILDROOT}%{docdir}%{name}
> +
> + # Remove rust source.
> + rm -rvf %{BUILDROOT}%{rustlibdir}/src
> +
> + # Create the path for crate-devel packages
> + mkdir -pv %{BUILDROOT}%{datadir}/cargo/registry
> +
> + # Remove zsh related files.
> + rm -rvf %{BUILDROOT}%{datadir}/zsh/
> + end
> +
> +
> + # While we don't want to encourage dynamic linking to Rust
> shared libraries, as
> + # there's no stable ABI, we still need the unallocated metadata
> (.rustc) to
> + # support custom-derive plugins like
> #[proc_macro_derive(Foo)]. But eu-strip is
> + # very eager by default, so it has to be limited to keep the
> rustc sections.
> + debuginfo_options = --keep-section .rustc
> +end
> +
> +packages
> + package %{name}
> + provides += \
> + bundled(libbacktrace) = 8.1.0 \
> + bundled(miniz) = 2.0.7
> + end
> +
> + package %{name}-debuginfo
> + template DEBUGINFO
> + end
> +end
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] Rust: New package.
@ 2019-09-02 12:44 Stefan Schantl
2019-09-02 13:16 ` Stefan Schantl
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Schantl @ 2019-09-02 12:44 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 5788 bytes --]
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
rust/rust.nm | 175 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 175 insertions(+)
create mode 100644 rust/rust.nm
diff --git a/rust/rust.nm b/rust/rust.nm
new file mode 100644
index 000000000..96f198f85
--- /dev/null
+++ b/rust/rust.nm
@@ -0,0 +1,175 @@
+###############################################################################
+# IPFire.org - An Open Source Firewall Solution #
+# Copyright (C) - IPFire Development Team <info(a)ipfire.org> #
+###############################################################################
+
+name = rust
+version = 1.37.0
+release = 1
+
+groups = Applications/System
+url = https://www.rust-lang.org/
+license =
+summary = A language empowering everyone to build reliable and efficient software.
+
+description
+
+end
+
+source_dl = https://static.rust-lang.org/dist/
+sources = rustc-%{version}-src.tar.gz
+
+# For building rustc a bootstrapped rust toolchain has to be downloaded and used.
+if %{DISTRO_ARCH} == "armv7hl"
+ rust_bootstrap = armv7-unknown-linux-gnueabihf
+elif %{DISTRO_ARCH} == "armv5tel"
+ rust_bootstrap = arm-unknown-linux-gnueabi
+else
+ rust_bootstrap = %{DISTRO_ARCH}-unknown-linux-gnu
+end
+
+sources += rust-%{version}-%{rust_bootstrap}.tar.gz
+
+build
+ requires
+ /usr/bin/llvm-config
+ /usr/bin/FileCheck
+ cmake
+ libcurl-devel >= 7.65.3
+ llvm
+ libffi-devel
+ libgit2-devel
+ libssh2-devel
+ openssl-devel
+ pakfire >= 0.9.27-3
+ python3
+ xz-devel
+ zlib-devel
+ end
+
+ local_rust_root = "/opt"
+ rustlibdir = "%{libdir}/rustlib"
+
+ DIR_APP = %{DIR_SRC}/rustc-%{version}-src
+ DIR_BOOTSTRAPPED = %{DIR_SRC}/rust-%{version}-%{rust_bootstrap}
+
+ configure_options +=\
+ --build=%{rust_bootstrap} \
+ --host=%{rust_bootstrap} \
+ --target=%{rust_bootstrap} \
+ --disable-option-checking \
+ --local-rust-root=%{local_rust_root} \
+ --llvm-root=%{prefix} \
+ --enable-llvm-link-shared \
+ --disable-rpath \
+ --enable-extended \
+ --enable-vendor \
+ --release-channel="stable"
+
+ prepare_cmds
+ # Install precompiled rust toolchain.
+ cd %{DIR_BOOTSTRAPPED}
+
+ ./install.sh --components=cargo,rustc,rust-std-%{rust_bootstrap} \
+ --prefix=%{local_rust_root} --disable-ldconfig
+
+ # Test if the bootstrapped tools correctly have been installed.
+ test -f %{local_rust_root}/bin/cargo
+ test -f %{local_rust_root}/bin/rustc
+ end
+
+ build
+ # Change into main rust source directory.
+ cd %{DIR_APP}
+
+ # Do not build with shipped llvm and llvm-emscripten.
+ rm -rf src/llvm-project/
+ rm -rf src/llvm-emscripten/
+
+ # Remove other unused vendored libraries
+ rm -rf vendor/curl-sys/curl/
+ rm -rf vendor/jemalloc-sys/jemalloc/
+ rm -rf vendor/libz-sys/src/zlib/
+ rm -rf vendor/lzma-sys/xz-*/
+ rm -rf vendor/openssl-src/openssl/
+
+ # Use the distro libgit2
+ export LIBGIT2_SYS_USE_PKG_CONFIG=1
+ rm -rf vendor/libgit2-sys/libgit2/
+
+ # Use the distro libssh2
+ export LIBSSH2_SYS_USE_PKG_CONFIG=1
+ rm -rf vendor/libssh2-sys/libssh2/
+
+ # Use the dynamic xz-libs
+ sed -i.lzma -e '/LZMA_API_STATIC/d' src/bootstrap/tool.rs
+
+ # The configure macro will modify some autoconf-related files, which upsets
+ # cargo when it tries to verify checksums in those files. If we just truncate
+ # that file list, cargo won't have anything to complain about.
+ find vendor -name .cargo-checksum.json \
+ -exec sed -i.uncheck -e 's/"files":{[^}]*}/"files":{ }/' '{}' '+'
+
+ # Launch configure script
+ ./configure %{configure_options}
+
+ # Build rust.
+ %{python3} ./x.py build --exclude src/tools/miri
+ end
+
+ install
+ DESTDIR=%{BUILDROOT} %{python3} ./x.py install
+
+ # The shared libraries should be executable for debuginfo extraction.
+ find %{BUILDROOT}%{libdir} -maxdepth 1 -type f -name '*.so' -exec chmod -v +x '{}' '+'
+
+ # The libdir libraries are identical to those under rustlib/. It's easier on
+ # library loading if we keep them in libdir, but we do need them in rustlib/
+ # to support dynamic linking for compiler plugins, so we'll symlink.
+ (
+ cd %{BUILDROOT}%{rustlibdir}/%{rust_bootstrap}/lib
+
+ for i in *.so; do
+ [ -f %{BUILDROOT}%{rustlibdir}/%{rust_bootstrap}/lib/${i} ] && ln -svf ../../../${i} \
+ %{BUILDROOT}%{rustlibdir}/%{rust_bootstrap}/lib/${i};
+ done
+ )
+
+ # Remove installer artifacts (manifests, uninstall scripts, etc.)
+ find %{BUILDROOT}%{rustlibdir} -maxdepth 1 -type f -exec rm -v '{}' '+'
+
+ # Remove backup files from %%configure munging
+ find %{BUILDROOT}%{rustlibdir} -type f -name '*.orig' -exec rm -v '{}' '+'
+
+ # Remove documentation files.
+ rm -rvf %{BUILDROOT}%{docdir}%{name}
+
+ # Remove rust source.
+ rm -rvf %{BUILDROOT}%{rustlibdir}/src
+
+ # Create the path for crate-devel packages
+ mkdir -pv %{BUILDROOT}%{datadir}/cargo/registry
+
+ # Remove zsh related files.
+ rm -rvf %{BUILDROOT}%{datadir}/zsh/
+ end
+
+
+ # While we don't want to encourage dynamic linking to Rust shared libraries, as
+ # there's no stable ABI, we still need the unallocated metadata (.rustc) to
+ # support custom-derive plugins like #[proc_macro_derive(Foo)]. But eu-strip is
+ # very eager by default, so it has to be limited to keep the rustc sections.
+ debuginfo_options = --keep-section .rustc
+end
+
+packages
+ package %{name}
+ provides += \
+ bundled(libbacktrace) = 8.1.0 \
+ bundled(miniz) = 2.0.7
+ end
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
+end
--
2.20.1
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-10-08 9:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-07 18:44 [PATCH 1/2] rust: New package Stefan Schantl
2019-10-07 18:44 ` [PATCH 2/2] suricata: Enable rust support Stefan Schantl
2019-10-08 9:06 ` [PATCH 1/2] rust: New package Michael Tremer
-- strict thread matches above, loose matches on Subject: below --
2019-09-02 12:44 [PATCH 1/2] Rust: " Stefan Schantl
2019-09-02 13:16 ` Stefan Schantl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox