├── .gitignore ├── .travis.yml ├── BUILD ├── Dockerfile ├── README.md ├── WORKSPACE ├── fetch.bzl ├── iso_image.bzl ├── isolinux.bzl ├── kernel.bzl ├── mkiso ├── BUILD ├── mkiso.py └── packages.bzl ├── mkpiimage ├── .gitignore ├── BUILD ├── Cargo.lock ├── Cargo.toml ├── raze │ ├── BUILD │ ├── Cargo.lock │ ├── Cargo.toml │ ├── crates.bzl │ └── remote │ │ ├── BUILD │ │ ├── ansi_term-0.11.0.BUILD │ │ ├── atty-0.2.11.BUILD │ │ ├── bitflags-1.0.4.BUILD │ │ ├── byteorder-1.3.1.BUILD │ │ ├── cfg-if-0.1.7.BUILD │ │ ├── chrono-0.4.6.BUILD │ │ ├── clap-2.32.0.BUILD │ │ ├── fatfs-0.3.2.BUILD │ │ ├── fscommon-0.1.0.BUILD │ │ ├── heck-0.3.1.BUILD │ │ ├── libc-0.2.51.BUILD │ │ ├── log-0.4.6.BUILD │ │ ├── num-integer-0.1.39.BUILD │ │ ├── num-traits-0.2.6.BUILD │ │ ├── proc-macro2-0.4.27.BUILD │ │ ├── quote-0.6.11.BUILD │ │ ├── redox_syscall-0.1.51.BUILD │ │ ├── redox_termios-0.1.1.BUILD │ │ ├── strsim-0.7.0.BUILD │ │ ├── structopt-0.2.15.BUILD │ │ ├── structopt-derive-0.2.15.BUILD │ │ ├── syn-0.15.29.BUILD │ │ ├── termion-1.5.1.BUILD │ │ ├── textwrap-0.10.0.BUILD │ │ ├── time-0.1.42.BUILD │ │ ├── unicode-segmentation-1.2.1.BUILD │ │ ├── unicode-width-0.1.5.BUILD │ │ ├── unicode-xid-0.1.0.BUILD │ │ ├── vec_map-0.8.1.BUILD │ │ ├── winapi-0.3.6.BUILD │ │ ├── winapi-i686-pc-windows-gnu-0.4.0.BUILD │ │ └── winapi-x86_64-pc-windows-gnu-0.4.0.BUILD └── src │ └── main.rs ├── mkrootfs ├── .gitignore ├── BUILD ├── Cargo.lock ├── Cargo.toml ├── raze │ ├── BUILD │ ├── Cargo.lock │ ├── Cargo.toml │ ├── crates.bzl │ └── remote │ │ ├── BUILD │ │ ├── adler32-1.0.3.BUILD │ │ ├── ansi_term-0.11.0.BUILD │ │ ├── atty-0.2.11.BUILD │ │ ├── autocfg-0.1.2.BUILD │ │ ├── backtrace-0.3.14.BUILD │ │ ├── backtrace-sys-0.1.28.BUILD │ │ ├── bitflags-1.0.4.BUILD │ │ ├── byteorder-1.3.1.BUILD │ │ ├── cc-1.0.31.BUILD │ │ ├── cfg-if-0.1.7.BUILD │ │ ├── clap-2.32.0.BUILD │ │ ├── cpio-0.2.0.BUILD │ │ ├── crc32fast-1.2.0.BUILD │ │ ├── failure-0.1.5.BUILD │ │ ├── failure_derive-0.1.5.BUILD │ │ ├── heck-0.3.1.BUILD │ │ ├── libc-0.2.50.BUILD │ │ ├── libflate-0.1.21.BUILD │ │ ├── proc-macro2-0.4.27.BUILD │ │ ├── quote-0.6.11.BUILD │ │ ├── redox_syscall-0.1.51.BUILD │ │ ├── redox_termios-0.1.1.BUILD │ │ ├── rustc-demangle-0.1.13.BUILD │ │ ├── strsim-0.7.0.BUILD │ │ ├── structopt-0.2.15.BUILD │ │ ├── structopt-derive-0.2.15.BUILD │ │ ├── syn-0.15.29.BUILD │ │ ├── synstructure-0.10.1.BUILD │ │ ├── termion-1.5.1.BUILD │ │ ├── textwrap-0.10.0.BUILD │ │ ├── unicode-segmentation-1.2.1.BUILD │ │ ├── unicode-width-0.1.5.BUILD │ │ ├── unicode-xid-0.1.0.BUILD │ │ ├── vec_map-0.8.1.BUILD │ │ ├── winapi-0.3.6.BUILD │ │ ├── winapi-i686-pc-windows-gnu-0.4.0.BUILD │ │ └── winapi-x86_64-pc-windows-gnu-0.4.0.BUILD └── src │ └── main.rs ├── pc_app ├── .bazelrc ├── .gitignore ├── BUILD ├── Cargo.lock ├── Cargo.toml ├── WORKSPACE ├── qemu_run.sh ├── raze │ ├── BUILD │ ├── Cargo.lock │ ├── Cargo.toml │ ├── crates.bzl │ └── remote │ │ ├── BUILD │ │ ├── arrayvec-0.4.10.BUILD │ │ ├── autocfg-0.1.2.BUILD │ │ ├── bitflags-1.0.4.BUILD │ │ ├── byteorder-1.3.1.BUILD │ │ ├── bytes-0.4.12.BUILD │ │ ├── cc-1.0.31.BUILD │ │ ├── cfg-if-0.1.7.BUILD │ │ ├── cloudabi-0.0.3.BUILD │ │ ├── crossbeam-deque-0.7.1.BUILD │ │ ├── crossbeam-epoch-0.7.1.BUILD │ │ ├── crossbeam-queue-0.1.2.BUILD │ │ ├── crossbeam-utils-0.6.5.BUILD │ │ ├── errno-0.2.4.BUILD │ │ ├── errno-dragonfly-0.1.1.BUILD │ │ ├── fnv-1.0.6.BUILD │ │ ├── fuchsia-cprng-0.1.1.BUILD │ │ ├── fuchsia-zircon-0.3.3.BUILD │ │ ├── fuchsia-zircon-sys-0.3.3.BUILD │ │ ├── futures-0.1.25.BUILD │ │ ├── futures-cpupool-0.1.8.BUILD │ │ ├── gcc-0.3.55.BUILD │ │ ├── h2-0.1.17.BUILD │ │ ├── http-0.1.16.BUILD │ │ ├── httparse-1.3.3.BUILD │ │ ├── hyper-0.12.25.BUILD │ │ ├── indexmap-1.0.2.BUILD │ │ ├── iovec-0.1.2.BUILD │ │ ├── itoa-0.4.3.BUILD │ │ ├── kernel32-sys-0.2.2.BUILD │ │ ├── lazy_static-1.3.0.BUILD │ │ ├── lazycell-1.2.1.BUILD │ │ ├── libc-0.2.50.BUILD │ │ ├── lock_api-0.1.5.BUILD │ │ ├── log-0.4.6.BUILD │ │ ├── loopdev-0.2.1.BUILD │ │ ├── memoffset-0.2.1.BUILD │ │ ├── mio-0.6.16.BUILD │ │ ├── miow-0.2.1.BUILD │ │ ├── net2-0.2.33.BUILD │ │ ├── nix-0.13.0.BUILD │ │ ├── nodrop-0.1.13.BUILD │ │ ├── num_cpus-1.10.0.BUILD │ │ ├── owning_ref-0.4.0.BUILD │ │ ├── parking_lot-0.7.1.BUILD │ │ ├── parking_lot_core-0.4.0.BUILD │ │ ├── rand-0.6.5.BUILD │ │ ├── rand_chacha-0.1.1.BUILD │ │ ├── rand_core-0.3.1.BUILD │ │ ├── rand_core-0.4.0.BUILD │ │ ├── rand_hc-0.1.0.BUILD │ │ ├── rand_isaac-0.1.1.BUILD │ │ ├── rand_jitter-0.1.3.BUILD │ │ ├── rand_os-0.1.3.BUILD │ │ ├── rand_pcg-0.1.2.BUILD │ │ ├── rand_xorshift-0.1.1.BUILD │ │ ├── rdrand-0.4.0.BUILD │ │ ├── redox_syscall-0.1.51.BUILD │ │ ├── rustc_version-0.2.3.BUILD │ │ ├── scopeguard-0.3.3.BUILD │ │ ├── semver-0.9.0.BUILD │ │ ├── semver-parser-0.7.0.BUILD │ │ ├── slab-0.4.2.BUILD │ │ ├── smallvec-0.6.9.BUILD │ │ ├── stable_deref_trait-1.1.1.BUILD │ │ ├── string-0.1.3.BUILD │ │ ├── sys-mount-1.2.0.BUILD │ │ ├── time-0.1.42.BUILD │ │ ├── tokio-0.1.17.BUILD │ │ ├── tokio-current-thread-0.1.5.BUILD │ │ ├── tokio-executor-0.1.6.BUILD │ │ ├── tokio-io-0.1.12.BUILD │ │ ├── tokio-reactor-0.1.9.BUILD │ │ ├── tokio-sync-0.1.4.BUILD │ │ ├── tokio-tcp-0.1.3.BUILD │ │ ├── tokio-threadpool-0.1.12.BUILD │ │ ├── tokio-timer-0.2.10.BUILD │ │ ├── tokio-trace-core-0.1.0.BUILD │ │ ├── try-lock-0.2.2.BUILD │ │ ├── void-1.0.2.BUILD │ │ ├── want-0.0.6.BUILD │ │ ├── winapi-0.2.8.BUILD │ │ ├── winapi-0.3.6.BUILD │ │ ├── winapi-build-0.1.1.BUILD │ │ ├── winapi-i686-pc-windows-gnu-0.4.0.BUILD │ │ ├── winapi-x86_64-pc-windows-gnu-0.4.0.BUILD │ │ └── ws2_32-sys-0.2.1.BUILD └── src │ ├── driver.rs │ ├── main.rs │ └── network.rs ├── raspberry_pi.bzl ├── rootfs.bzl ├── rpi_app ├── .bazelrc ├── .gitignore ├── BUILD ├── Cargo.toml ├── WORKSPACE ├── config.txt ├── qemu_run.sh └── src │ └── main.rs └── toolchain ├── BUILD ├── CROSSTOOL ├── fetch.bzl ├── gcc-armv7l-linux-musleabihf.BUILD └── wrappers └── armv7l-linux-musleabihf-gcc /.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore backup files. 2 | *~ 3 | # Ignore Vim swap files. 4 | .*.swp 5 | # Ignore files generated by IDEs. 6 | /.classpath 7 | /.factorypath 8 | /.idea/ 9 | /.ijwb/ 10 | /.project 11 | /.settings 12 | /.vscode/ 13 | /bazel.iml 14 | # Ignore all bazel-* symlinks. There is no full list since this can change 15 | # based on the name of the directory bazel is cloned into. 16 | /bazel-* 17 | # Ignore outputs generated during Bazel bootstrapping. 18 | /output/ 19 | # Ignore jekyll build output. 20 | /production 21 | /.sass-cache 22 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: generic 2 | 3 | services: 4 | - docker 5 | 6 | script: 7 | - docker build --rm . 8 | -------------------------------------------------------------------------------- /BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wildarch/minimal-linux-bazel/1af646fd906cb1b07d60b8094d3722e169c6a612/BUILD -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM archlinux/base 2 | RUN pacman -Sy --noconfirm bazel gcc tar python 3 | COPY . /build 4 | WORKDIR /build/pc_app 5 | RUN bazel build --config=x86_64 //:iso 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Minimal linux image using bazel (with Rust) 2 | This is all very experimental and documentation is basically non-existent. Hopefully that will change one day... 3 | 4 | # Building 5 | Only linux systems are supported as hosts for now. 6 | 7 | You need the following dependencies: 8 | * Bazel 9 | * Python interpreter 10 | * (optional) qemu to run the generated disk image. 11 | 12 | To build a bootable iso image (for x86-64 qemu): 13 | ```bash 14 | bazel build --config=musl //application:iso 15 | ``` 16 | 17 | To run in qemu: 18 | ```bash 19 | ./qemu_run.sh 20 | ``` 21 | -------------------------------------------------------------------------------- /WORKSPACE: -------------------------------------------------------------------------------- 1 | workspace(name = "minimal_linux_bazel") 2 | 3 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 4 | 5 | # Rules rust 6 | http_archive( 7 | name = "io_bazel_rules_rust", 8 | sha256 = "c82118824b2448b77146f1dae97b6eaa717babedad0822aca4879f3cbbf2b7b5", 9 | strip_prefix = "rules_rust-3228ccd3814c2ad0d7307d2f87fb8ff9616149d7", 10 | urls = [ 11 | # Master branch as of 2018-12-11 12 | "https://github.com/bazelbuild/rules_rust/archive/3228ccd3814c2ad0d7307d2f87fb8ff9616149d7.tar.gz", 13 | ], 14 | ) 15 | 16 | http_archive( 17 | name = "bazel_skylib", 18 | sha256 = "eb5c57e4c12e68c0c20bc774bfbc60a568e800d025557bc4ea022c6479acc867", 19 | strip_prefix = "bazel-skylib-0.6.0", 20 | url = "https://github.com/bazelbuild/bazel-skylib/archive/0.6.0.tar.gz", 21 | ) 22 | 23 | load("@io_bazel_rules_rust//:workspace.bzl", "bazel_version") 24 | 25 | bazel_version(name = "bazel_version") 26 | 27 | load("//:fetch.bzl", "fetch_dependencies") 28 | 29 | fetch_dependencies() 30 | -------------------------------------------------------------------------------- /fetch.bzl: -------------------------------------------------------------------------------- 1 | load("@minimal_linux_bazel//:isolinux.bzl", "fetch_isolinux") 2 | load("@minimal_linux_bazel//toolchain:fetch.bzl", "fetch_toolchains") 3 | load("@minimal_linux_bazel//mkrootfs/raze:crates.bzl", fetch_mkrootfs_crates = "raze_fetch_remote_crates") 4 | load("@minimal_linux_bazel//mkpiimage/raze:crates.bzl", fetch_mkpiimage_crates = "raze_fetch_remote_crates") 5 | load("@minimal_linux_bazel//mkiso:packages.bzl", fetch_mkiso_packages = "fetch_packages") 6 | 7 | def fetch_dependencies(): 8 | fetch_isolinux() 9 | fetch_mkrootfs_crates() 10 | fetch_mkpiimage_crates() 11 | fetch_mkiso_packages() 12 | fetch_toolchains() 13 | -------------------------------------------------------------------------------- /iso_image.bzl: -------------------------------------------------------------------------------- 1 | def _iso_image_impl(ctx): 2 | isolinux_cfg = ctx.actions.declare_file("isolinux.cfg") 3 | 4 | # TODO Make this more configurable? 5 | ctx.actions.write(isolinux_cfg, "default {} initrd={} console=ttyS0".format( 6 | ctx.file.kernel.basename, 7 | ctx.file.rootfs.basename, 8 | )) 9 | files = [ctx.file.rootfs, ctx.file.kernel, isolinux_cfg] + ctx.files.isolinux 10 | paths = [f.path for f in files] 11 | ctx.actions.run( 12 | inputs = files, 13 | outputs = [ctx.outputs.out], 14 | arguments = ["-o", ctx.outputs.out.path, "-b", "isolinux.bin", "-c", "boot.cat"] + paths, 15 | executable = ctx.executable._mkiso, 16 | progress_message = "Building iso9660 image", 17 | ) 18 | 19 | # TODO input sanitization 20 | iso_image = rule( 21 | attrs = { 22 | "rootfs": attr.label( 23 | mandatory = True, 24 | allow_single_file = True, 25 | ), 26 | "kernel": attr.label( 27 | default = Label("@linux//:kernel"), 28 | allow_single_file = True, 29 | ), 30 | "out": attr.output(mandatory = True), 31 | "_mkiso": attr.label( 32 | executable = True, 33 | cfg = "host", 34 | allow_files = True, 35 | default = Label("@minimal_linux_bazel//mkiso"), 36 | ), 37 | "isolinux": attr.label( 38 | default = Label("@syslinux//:isolinux"), 39 | allow_files = True, 40 | ), 41 | }, 42 | implementation = _iso_image_impl, 43 | ) 44 | -------------------------------------------------------------------------------- /isolinux.bzl: -------------------------------------------------------------------------------- 1 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 2 | 3 | def fetch_isolinux(): 4 | http_archive( 5 | name = "syslinux", 6 | build_file_content = """ 7 | filegroup( 8 | name = "isolinux", 9 | srcs = [ 10 | ":bios/core/isolinux.bin", 11 | ":bios/com32/elflink/ldlinux/ldlinux.c32", 12 | ], 13 | visibility = ["//visibility:public"], 14 | ) 15 | """, 16 | sha256 = "26d3986d2bea109d5dc0e4f8c4822a459276cf021125e8c9f23c3cca5d8c850e", 17 | strip_prefix = "syslinux-6.03", 18 | url = "http://kernel.org/pub/linux/utils/boot/syslinux/syslinux-6.03.tar.xz", 19 | ) 20 | -------------------------------------------------------------------------------- /kernel.bzl: -------------------------------------------------------------------------------- 1 | """ 2 | Functions for loading a linux kernel and associated modules. 3 | """ 4 | 5 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file") 6 | 7 | KERNEL_URL = "https://archive.archlinux.org/packages/l/linux/linux-{}.pkg.tar.xz" 8 | 9 | KERNEL_BUILD_FILE = """ 10 | alias( 11 | name = "kernel", 12 | actual = ":vmlinuz-linux", 13 | visibility = ["//visibility:public"], 14 | ) 15 | """ 16 | 17 | KERNEL_DRIVER_BUILD_FILE = """ 18 | genrule( 19 | name = "{0}", 20 | srcs = ["{0}.ko.xz"], 21 | outs = ["{0}.ko"], 22 | visibility = ["//visibility:public"], 23 | cmd = "cp $(location {0}.ko.xz) {0}.ko.xz && xz --decompress {0}.ko.xz && cp {0}.ko $@", 24 | ) 25 | """ 26 | 27 | def _kernel_url_to_path(url): 28 | parts = url.split(".") 29 | if len(parts) <= 2 or len(parts) > 4: 30 | fail("Invalid kernel name") 31 | elif len(parts) == 4: 32 | sub_parts = parts[3].split("-") 33 | sub_parts[-1] = "ARCH" 34 | joined = "-".join(sub_parts) 35 | return "{}.{}.{}-{}".format(parts[0], parts[1], parts[2], joined) 36 | else: 37 | # Fine as is 38 | return url 39 | 40 | def kernel_repository(name, sha256 = None): 41 | http_archive( 42 | name = "linux", 43 | build_file_content = KERNEL_BUILD_FILE, 44 | sha256 = sha256, 45 | strip_prefix = "boot/", 46 | url = KERNEL_URL.format(name), 47 | ) 48 | 49 | def kernel_driver(driver_name, path, kernel_name, kernel_sha256): 50 | http_archive( 51 | name = driver_name, 52 | build_file_content = KERNEL_DRIVER_BUILD_FILE.format(driver_name), 53 | sha256 = kernel_sha256, 54 | strip_prefix = "usr/lib/modules/" + _kernel_url_to_path(kernel_name) + "/kernel/drivers/" + path, 55 | url = KERNEL_URL.format(kernel_name), 56 | ) 57 | -------------------------------------------------------------------------------- /mkiso/BUILD: -------------------------------------------------------------------------------- 1 | py_binary( 2 | name = "mkiso", 3 | srcs = ["mkiso.py"], 4 | visibility = ["//visibility:public"], 5 | deps = ["@pycdlib"], 6 | ) 7 | -------------------------------------------------------------------------------- /mkiso/mkiso.py: -------------------------------------------------------------------------------- 1 | """ 2 | mkiso: A simple command-line tool to create bootable iso images. 3 | Its input arguments are similar to mkisofs. 4 | 5 | Author: Daan de Graaf 6 | """ 7 | from io import BytesIO 8 | import pycdlib 9 | import argparse 10 | import os 11 | 12 | parser = argparse.ArgumentParser(description='Create a bootable iso image') 13 | parser.add_argument('-o', dest='output') 14 | parser.add_argument('-b', dest='boot') 15 | parser.add_argument('-c', dest='boot_cat') 16 | parser.add_argument('files', nargs='+') 17 | args = parser.parse_args() 18 | 19 | iso = pycdlib.PyCdlib() 20 | iso.new(interchange_level=3, rock_ridge='1.09') 21 | 22 | def char_range(start, end): 23 | for c in range(ord(start), ord(end)+1): 24 | yield chr(c) 25 | 26 | ISO9660_CHARS = list(char_range('A', 'Z')) + list(char_range('0', '9')) + ['.', '_'] 27 | 28 | def iso_filename(filename): 29 | filename = ''.join([ c for c in filename.upper() if c in ISO9660_CHARS ]) 30 | return '/{};1'.format(filename) 31 | 32 | for path in args.files: 33 | filename = os.path.basename(path) 34 | iso.add_file(path, iso_filename(filename), rr_name=filename) 35 | 36 | iso.add_eltorito( 37 | iso_filename(args.boot), 38 | bootcatfile=iso_filename(args.boot_cat), 39 | boot_load_size=4, 40 | boot_info_table=True 41 | ) 42 | 43 | iso.write(args.output) 44 | 45 | iso.close() 46 | -------------------------------------------------------------------------------- /mkiso/packages.bzl: -------------------------------------------------------------------------------- 1 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 2 | 3 | def fetch_packages(): 4 | http_archive( 5 | name = "pycdlib", 6 | build_file_content = """ 7 | py_library( 8 | name = "pycdlib", 9 | srcs = glob(["*.py"]), 10 | visibility = ["//visibility:public"], 11 | ) 12 | """, 13 | sha256 = "8a1669c8e932412b4572f5331d31f8ec2e70b63478eee50bae6448ec096acf6b", 14 | strip_prefix = "pycdlib-1.7.0/pycdlib/", 15 | url = "https://github.com/clalancette/pycdlib/archive/v1.7.0.tar.gz", 16 | ) 17 | -------------------------------------------------------------------------------- /mkpiimage/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | -------------------------------------------------------------------------------- /mkpiimage/BUILD: -------------------------------------------------------------------------------- 1 | load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary") 2 | 3 | rust_binary( 4 | name = "mkpiimage", 5 | srcs = ["src/main.rs"], 6 | edition = "2018", 7 | visibility = ["//visibility:public"], 8 | deps = [ 9 | "//mkpiimage/raze:fatfs", 10 | "//mkpiimage/raze:fscommon", 11 | "//mkpiimage/raze:structopt", 12 | ], 13 | ) 14 | -------------------------------------------------------------------------------- /mkpiimage/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "mkpiimage" 3 | version = "0.1.0" 4 | authors = ["Daan de Graaf "] 5 | edition = "2018" 6 | 7 | [dependencies] 8 | fatfs = "0.3" 9 | fscommon = "0.1" 10 | structopt = "0.2" 11 | -------------------------------------------------------------------------------- /mkpiimage/raze/BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze workspace build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = ["//visibility:public"]) 7 | 8 | licenses([ 9 | "notice" # See individual crates for specific licenses 10 | ]) 11 | alias( 12 | name = "fatfs", 13 | actual = "@raze__fatfs__0_3_2//:fatfs", 14 | ) 15 | alias( 16 | name = "fscommon", 17 | actual = "@raze__fscommon__0_1_0//:fscommon", 18 | ) 19 | alias( 20 | name = "structopt", 21 | actual = "@raze__structopt__0_2_15//:structopt", 22 | ) 23 | -------------------------------------------------------------------------------- /mkpiimage/raze/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "mkpiimage" 3 | version = "0.1.0" 4 | authors = ["Daan de Graaf "] 5 | edition = "2018" 6 | 7 | [lib] 8 | path = "fake_lib.rs" 9 | 10 | [dependencies] 11 | fatfs = "0.3" 12 | fscommon = "0.1" 13 | structopt = "0.2" 14 | 15 | [raze] 16 | workspace_path = "//mkpiimage/raze" 17 | target = "x86_64-unknown-linux-gnu" 18 | genmode = "Remote" 19 | 20 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wildarch/minimal-linux-bazel/1af646fd906cb1b07d60b8094d3722e169c6a612/mkpiimage/raze/remote/BUILD -------------------------------------------------------------------------------- /mkpiimage/raze/remote/ansi_term-0.11.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "ansi_term", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.11.0", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | # Unsupported target "colours" with type "example" omitted 44 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/atty-0.2.11.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "atty" with type "example" omitted 27 | 28 | rust_library( 29 | name = "atty", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__libc__0_2_51//:libc", 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.2.11", 41 | crate_features = [ 42 | ], 43 | ) 44 | 45 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/bitflags-1.0.4.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "bitflags", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "1.0.4", 39 | crate_features = [ 40 | "default", 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/byteorder-1.3.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "restricted", # "Unlicense OR MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "bench" with type "bench" omitted 27 | # Unsupported target "build-script-build" with type "custom-build" omitted 28 | 29 | rust_library( 30 | name = "byteorder", 31 | crate_root = "src/lib.rs", 32 | crate_type = "lib", 33 | edition = "2015", 34 | srcs = glob(["**/*.rs"]), 35 | deps = [ 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "1.3.1", 41 | crate_features = [ 42 | "default", 43 | "std", 44 | ], 45 | ) 46 | 47 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/cfg-if-0.1.7.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "cfg_if", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.1.7", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | # Unsupported target "xcrate" with type "test" omitted 44 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/chrono-0.4.6.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "chrono", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__num_integer__0_1_39//:num_integer", 35 | "@raze__num_traits__0_2_6//:num_traits", 36 | "@raze__time__0_1_42//:time", 37 | ], 38 | rustc_flags = [ 39 | "--cap-lints=allow", 40 | ], 41 | version = "0.4.6", 42 | crate_features = [ 43 | "clock", 44 | "default", 45 | "time", 46 | ], 47 | ) 48 | 49 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/clap-2.32.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "clap", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__ansi_term__0_11_0//:ansi_term", 35 | "@raze__atty__0_2_11//:atty", 36 | "@raze__bitflags__1_0_4//:bitflags", 37 | "@raze__strsim__0_7_0//:strsim", 38 | "@raze__textwrap__0_10_0//:textwrap", 39 | "@raze__unicode_width__0_1_5//:unicode_width", 40 | "@raze__vec_map__0_8_1//:vec_map", 41 | ], 42 | rustc_flags = [ 43 | "--cap-lints=allow", 44 | ], 45 | version = "2.32.0", 46 | crate_features = [ 47 | "ansi_term", 48 | "atty", 49 | "color", 50 | "default", 51 | "strsim", 52 | "suggestions", 53 | "vec_map", 54 | ], 55 | ) 56 | 57 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/fatfs-0.3.2.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "cat" with type "example" omitted 27 | 28 | rust_library( 29 | name = "fatfs", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__bitflags__1_0_4//:bitflags", 36 | "@raze__byteorder__1_3_1//:byteorder", 37 | "@raze__chrono__0_4_6//:chrono", 38 | "@raze__log__0_4_6//:log", 39 | ], 40 | rustc_flags = [ 41 | "--cap-lints=allow", 42 | ], 43 | version = "0.3.2", 44 | crate_features = [ 45 | "alloc", 46 | "chrono", 47 | "default", 48 | "std", 49 | ], 50 | ) 51 | 52 | # Unsupported target "format" with type "test" omitted 53 | # Unsupported target "ls" with type "example" omitted 54 | # Unsupported target "mkfatfs" with type "example" omitted 55 | # Unsupported target "partition" with type "example" omitted 56 | # Unsupported target "read" with type "test" omitted 57 | # Unsupported target "write" with type "example" omitted 58 | # Unsupported target "write" with type "test" omitted 59 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/fscommon-0.1.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "fscommon", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__log__0_4_6//:log", 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.1.0", 40 | crate_features = [ 41 | "default", 42 | "std", 43 | ], 44 | ) 45 | 46 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/heck-0.3.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "restricted", # "MIT OR Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "heck", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__unicode_segmentation__1_2_1//:unicode_segmentation", 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.3.1", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/libc-0.2.51.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "restricted", # "MIT OR Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "libc", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.2.51", 40 | crate_features = [ 41 | "default", 42 | "use_std", 43 | ], 44 | ) 45 | 46 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/log-0.4.6.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "filters" with type "test" omitted 27 | 28 | rust_library( 29 | name = "log", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__cfg_if__0_1_7//:cfg_if", 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.4.6", 41 | crate_features = [ 42 | ], 43 | ) 44 | 45 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/num-integer-0.1.39.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "num_integer", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__num_traits__0_2_6//:num_traits", 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.1.39", 41 | crate_features = [ 42 | ], 43 | ) 44 | 45 | # Unsupported target "roots" with type "bench" omitted 46 | # Unsupported target "roots" with type "test" omitted 47 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/num-traits-0.2.6.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | # Unsupported target "cast" with type "test" omitted 28 | 29 | rust_library( 30 | name = "num_traits", 31 | crate_root = "src/lib.rs", 32 | crate_type = "lib", 33 | edition = "2015", 34 | srcs = glob(["**/*.rs"]), 35 | deps = [ 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.2.6", 41 | crate_features = [ 42 | ], 43 | ) 44 | 45 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/proc-macro2-0.4.27.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | # Unsupported target "marker" with type "test" omitted 28 | 29 | rust_library( 30 | name = "proc_macro2", 31 | crate_root = "src/lib.rs", 32 | crate_type = "lib", 33 | edition = "2015", 34 | srcs = glob(["**/*.rs"]), 35 | deps = [ 36 | "@raze__unicode_xid__0_1_0//:unicode_xid", 37 | ], 38 | rustc_flags = [ 39 | "--cap-lints=allow", 40 | ], 41 | version = "0.4.27", 42 | crate_features = [ 43 | "default", 44 | "proc-macro", 45 | ], 46 | ) 47 | 48 | # Unsupported target "test" with type "test" omitted 49 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/quote-0.6.11.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "quote", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__proc_macro2__0_4_27//:proc_macro2", 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.6.11", 40 | crate_features = [ 41 | "default", 42 | "proc-macro", 43 | "proc-macro2", 44 | ], 45 | ) 46 | 47 | # Unsupported target "test" with type "test" omitted 48 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/redox_syscall-0.1.51.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | alias( 27 | name = "redox_syscall", 28 | actual = ":syscall", 29 | ) 30 | 31 | rust_library( 32 | name = "syscall", 33 | crate_root = "src/lib.rs", 34 | crate_type = "lib", 35 | edition = "2015", 36 | srcs = glob(["**/*.rs"]), 37 | deps = [ 38 | ], 39 | rustc_flags = [ 40 | "--cap-lints=allow", 41 | ], 42 | version = "0.1.51", 43 | crate_features = [ 44 | ], 45 | ) 46 | 47 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/redox_termios-0.1.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "redox_termios", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__redox_syscall__0_1_51//:redox_syscall", 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.1.1", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/strsim-0.7.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "lib" with type "test" omitted 27 | 28 | rust_library( 29 | name = "strsim", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.7.0", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/structopt-derive-0.2.15.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "Apache-2.0,MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "structopt_derive", 29 | crate_root = "src/lib.rs", 30 | crate_type = "proc-macro", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__heck__0_3_1//:heck", 35 | "@raze__proc_macro2__0_4_27//:proc_macro2", 36 | "@raze__quote__0_6_11//:quote", 37 | "@raze__syn__0_15_29//:syn", 38 | ], 39 | rustc_flags = [ 40 | "--cap-lints=allow", 41 | ], 42 | version = "0.2.15", 43 | crate_features = [ 44 | ], 45 | ) 46 | 47 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/syn-0.15.29.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "syn", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__proc_macro2__0_4_27//:proc_macro2", 36 | "@raze__quote__0_6_11//:quote", 37 | "@raze__unicode_xid__0_1_0//:unicode_xid", 38 | ], 39 | rustc_flags = [ 40 | "--cap-lints=allow", 41 | ], 42 | version = "0.15.29", 43 | crate_features = [ 44 | "clone-impls", 45 | "default", 46 | "derive", 47 | "parsing", 48 | "printing", 49 | "proc-macro", 50 | "proc-macro2", 51 | "quote", 52 | ], 53 | ) 54 | 55 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/termion-1.5.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "alternate_screen" with type "example" omitted 27 | # Unsupported target "alternate_screen_raw" with type "example" omitted 28 | # Unsupported target "async" with type "example" omitted 29 | # Unsupported target "click" with type "example" omitted 30 | # Unsupported target "color" with type "example" omitted 31 | # Unsupported target "commie" with type "example" omitted 32 | # Unsupported target "detect_color" with type "example" omitted 33 | # Unsupported target "is_tty" with type "example" omitted 34 | # Unsupported target "keys" with type "example" omitted 35 | # Unsupported target "mouse" with type "example" omitted 36 | # Unsupported target "rainbow" with type "example" omitted 37 | # Unsupported target "read" with type "example" omitted 38 | # Unsupported target "rustc_fun" with type "example" omitted 39 | # Unsupported target "simple" with type "example" omitted 40 | # Unsupported target "size" with type "example" omitted 41 | 42 | rust_library( 43 | name = "termion", 44 | crate_root = "src/lib.rs", 45 | crate_type = "lib", 46 | edition = "2015", 47 | srcs = glob(["**/*.rs"]), 48 | deps = [ 49 | "@raze__libc__0_2_51//:libc", 50 | ], 51 | rustc_flags = [ 52 | "--cap-lints=allow", 53 | ], 54 | version = "1.5.1", 55 | crate_features = [ 56 | ], 57 | ) 58 | 59 | # Unsupported target "truecolor" with type "example" omitted 60 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/textwrap-0.10.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "layout" with type "example" omitted 27 | # Unsupported target "linear" with type "bench" omitted 28 | # Unsupported target "termwidth" with type "example" omitted 29 | 30 | rust_library( 31 | name = "textwrap", 32 | crate_root = "src/lib.rs", 33 | crate_type = "lib", 34 | edition = "2015", 35 | srcs = glob(["**/*.rs"]), 36 | deps = [ 37 | "@raze__unicode_width__0_1_5//:unicode_width", 38 | ], 39 | rustc_flags = [ 40 | "--cap-lints=allow", 41 | ], 42 | version = "0.10.0", 43 | crate_features = [ 44 | ], 45 | ) 46 | 47 | # Unsupported target "version-numbers" with type "test" omitted 48 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/time-0.1.42.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "precise_time_ns" with type "bench" omitted 27 | 28 | rust_library( 29 | name = "time", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__libc__0_2_51//:libc", 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.1.42", 41 | crate_features = [ 42 | ], 43 | ) 44 | 45 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/unicode-segmentation-1.2.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "unicode_segmentation", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "1.2.1", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/unicode-width-0.1.5.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "unicode_width", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.1.5", 39 | crate_features = [ 40 | "default", 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/unicode-xid-0.1.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "unicode_xid", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.1.0", 39 | crate_features = [ 40 | "default", 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/vec_map-0.8.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "vec_map", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.8.1", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/winapi-0.3.6.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "winapi", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.3.6", 40 | crate_features = [ 41 | "consoleapi", 42 | "errhandlingapi", 43 | "minwinbase", 44 | "minwindef", 45 | "ntdef", 46 | "processenv", 47 | "profileapi", 48 | "std", 49 | "sysinfoapi", 50 | "timezoneapi", 51 | "winbase", 52 | ], 53 | ) 54 | 55 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "winapi_i686_pc_windows_gnu", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.4.0", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /mkpiimage/raze/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkpiimage/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "winapi_x86_64_pc_windows_gnu", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.4.0", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /mkrootfs/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | -------------------------------------------------------------------------------- /mkrootfs/BUILD: -------------------------------------------------------------------------------- 1 | load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary") 2 | 3 | rust_binary( 4 | name = "mkrootfs", 5 | srcs = ["src/main.rs"], 6 | edition = "2018", 7 | visibility = ["//visibility:public"], 8 | deps = [ 9 | "//mkrootfs/raze:cpio", 10 | "//mkrootfs/raze:failure", 11 | "//mkrootfs/raze:libflate", 12 | "//mkrootfs/raze:structopt", 13 | ], 14 | ) 15 | -------------------------------------------------------------------------------- /mkrootfs/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "mkrootfs" 3 | version = "0.1.0" 4 | authors = ["Daan de Graaf "] 5 | edition = "2018" 6 | 7 | [dependencies] 8 | libflate = "0.1" 9 | cpio = "0.2" 10 | failure = "0.1" 11 | structopt = "0.2" 12 | -------------------------------------------------------------------------------- /mkrootfs/raze/BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze workspace build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = ["//visibility:public"]) 7 | 8 | licenses([ 9 | "notice" # See individual crates for specific licenses 10 | ]) 11 | alias( 12 | name = "cpio", 13 | actual = "@raze__cpio__0_2_0//:cpio", 14 | ) 15 | alias( 16 | name = "failure", 17 | actual = "@raze__failure__0_1_5//:failure", 18 | ) 19 | alias( 20 | name = "libflate", 21 | actual = "@raze__libflate__0_1_21//:libflate", 22 | ) 23 | alias( 24 | name = "structopt", 25 | actual = "@raze__structopt__0_2_15//:structopt", 26 | ) 27 | -------------------------------------------------------------------------------- /mkrootfs/raze/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "mkrootfs" 3 | version = "0.1.0" 4 | authors = ["Daan de Graaf "] 5 | edition = "2018" 6 | 7 | [lib] 8 | path = "fake_lib.rs" 9 | 10 | [dependencies] 11 | libflate = "0.1" 12 | cpio = "0.2" 13 | failure = "0.1" 14 | structopt = "0.2" 15 | 16 | [raze] 17 | workspace_path = "//mkrootfs/raze" 18 | target = "x86_64-unknown-linux-gnu" 19 | genmode = "Remote" 20 | 21 | [raze.crates.proc-macro2.'0.4.27'] 22 | additional_flags = [ 23 | "--cfg=use_proc_macro", 24 | ] 25 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wildarch/minimal-linux-bazel/1af646fd906cb1b07d60b8094d3722e169c6a612/mkrootfs/raze/remote/BUILD -------------------------------------------------------------------------------- /mkrootfs/raze/remote/adler32-1.0.3.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "restricted", # "BSD-3-Clause AND Zlib" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "adler32", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "1.0.3", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/ansi_term-0.11.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "ansi_term", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.11.0", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | # Unsupported target "colours" with type "example" omitted 44 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/atty-0.2.11.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "atty" with type "example" omitted 27 | 28 | rust_library( 29 | name = "atty", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__libc__0_2_50//:libc", 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.2.11", 41 | crate_features = [ 42 | ], 43 | ) 44 | 45 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/autocfg-0.1.2.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "Apache-2.0,MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "autocfg", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.1.2", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | # Unsupported target "integers" with type "example" omitted 44 | # Unsupported target "paths" with type "example" omitted 45 | # Unsupported target "traits" with type "example" omitted 46 | # Unsupported target "versions" with type "example" omitted 47 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/backtrace-0.3.14.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "backtrace" with type "example" omitted 27 | 28 | rust_library( 29 | name = "backtrace", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__backtrace_sys__0_1_28//:backtrace_sys", 36 | "@raze__cfg_if__0_1_7//:cfg_if", 37 | "@raze__libc__0_2_50//:libc", 38 | "@raze__rustc_demangle__0_1_13//:rustc_demangle", 39 | ], 40 | rustc_flags = [ 41 | "--cap-lints=allow", 42 | ], 43 | version = "0.3.14", 44 | crate_features = [ 45 | "backtrace-sys", 46 | "coresymbolication", 47 | "dbghelp", 48 | "default", 49 | "dladdr", 50 | "libbacktrace", 51 | "libunwind", 52 | "std", 53 | ], 54 | ) 55 | 56 | # Unsupported target "build-script-build" with type "custom-build" omitted 57 | # Unsupported target "long_fn_name" with type "test" omitted 58 | # Unsupported target "raw" with type "example" omitted 59 | # Unsupported target "skip_inner_frames" with type "test" omitted 60 | # Unsupported target "smoke" with type "test" omitted 61 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/backtrace-sys-0.1.28.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "backtrace_sys", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__libc__0_2_50//:libc", 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.1.28", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | # Unsupported target "build-script-build" with type "custom-build" omitted 45 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/bitflags-1.0.4.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "bitflags", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "1.0.4", 39 | crate_features = [ 40 | "default", 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/byteorder-1.3.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "restricted", # "Unlicense OR MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "bench" with type "bench" omitted 27 | # Unsupported target "build-script-build" with type "custom-build" omitted 28 | 29 | rust_library( 30 | name = "byteorder", 31 | crate_root = "src/lib.rs", 32 | crate_type = "lib", 33 | edition = "2015", 34 | srcs = glob(["**/*.rs"]), 35 | deps = [ 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "1.3.1", 41 | crate_features = [ 42 | "default", 43 | "std", 44 | ], 45 | ) 46 | 47 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/cc-1.0.31.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "cc", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "1.0.31", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | # Unsupported target "cc_env" with type "test" omitted 44 | rust_binary( 45 | # Prefix bin name to disambiguate from (probable) collision with lib name 46 | # N.B.: The exact form of this is subject to change. 47 | name = "cargo_bin_gcc_shim", 48 | crate_root = "src/bin/gcc-shim.rs", 49 | edition = "2015", 50 | srcs = glob(["**/*.rs"]), 51 | deps = [ 52 | # Binaries get an implicit dependency on their crate's lib 53 | ":cc", 54 | ], 55 | rustc_flags = [ 56 | "--cap-lints=allow", 57 | ], 58 | version = "1.0.31", 59 | crate_features = [ 60 | ], 61 | ) 62 | 63 | # Unsupported target "test" with type "test" omitted 64 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/cfg-if-0.1.7.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "cfg_if", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.1.7", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | # Unsupported target "xcrate" with type "test" omitted 44 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/clap-2.32.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "clap", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__ansi_term__0_11_0//:ansi_term", 35 | "@raze__atty__0_2_11//:atty", 36 | "@raze__bitflags__1_0_4//:bitflags", 37 | "@raze__strsim__0_7_0//:strsim", 38 | "@raze__textwrap__0_10_0//:textwrap", 39 | "@raze__unicode_width__0_1_5//:unicode_width", 40 | "@raze__vec_map__0_8_1//:vec_map", 41 | ], 42 | rustc_flags = [ 43 | "--cap-lints=allow", 44 | ], 45 | version = "2.32.0", 46 | crate_features = [ 47 | "ansi_term", 48 | "atty", 49 | "color", 50 | "default", 51 | "strsim", 52 | "suggestions", 53 | "vec_map", 54 | ], 55 | ) 56 | 57 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/cpio-0.2.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "cpio", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.2.0", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | # Unsupported target "listcpio" with type "example" omitted 44 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/crc32fast-1.2.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "restricted", # "MIT OR Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "bench" with type "bench" omitted 27 | # Unsupported target "build-script-build" with type "custom-build" omitted 28 | 29 | rust_library( 30 | name = "crc32fast", 31 | crate_root = "src/lib.rs", 32 | crate_type = "lib", 33 | edition = "2015", 34 | srcs = glob(["**/*.rs"]), 35 | deps = [ 36 | "@raze__cfg_if__0_1_7//:cfg_if", 37 | ], 38 | rustc_flags = [ 39 | "--cap-lints=allow", 40 | ], 41 | version = "1.2.0", 42 | crate_features = [ 43 | "default", 44 | "std", 45 | ], 46 | ) 47 | 48 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/failure-0.1.5.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "restricted", # "MIT OR Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "bail_ensure" with type "example" omitted 27 | # Unsupported target "basic_fail" with type "test" omitted 28 | # Unsupported target "error_as_cause" with type "example" omitted 29 | # Unsupported target "fail_compat" with type "test" omitted 30 | 31 | rust_library( 32 | name = "failure", 33 | crate_root = "src/lib.rs", 34 | crate_type = "lib", 35 | edition = "2015", 36 | srcs = glob(["**/*.rs"]), 37 | deps = [ 38 | "@raze__backtrace__0_3_14//:backtrace", 39 | "@raze__failure_derive__0_1_5//:failure_derive", 40 | ], 41 | rustc_flags = [ 42 | "--cap-lints=allow", 43 | ], 44 | version = "0.1.5", 45 | crate_features = [ 46 | "backtrace", 47 | "default", 48 | "derive", 49 | "failure_derive", 50 | "std", 51 | ], 52 | ) 53 | 54 | # Unsupported target "macro_trailing_comma" with type "test" omitted 55 | # Unsupported target "simple" with type "example" omitted 56 | # Unsupported target "string_custom_error_pattern" with type "example" omitted 57 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/failure_derive-0.1.5.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "restricted", # "MIT OR Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "backtrace" with type "test" omitted 27 | # Unsupported target "build-script-build" with type "custom-build" omitted 28 | # Unsupported target "custom_type_bounds" with type "test" omitted 29 | 30 | rust_library( 31 | name = "failure_derive", 32 | crate_root = "src/lib.rs", 33 | crate_type = "proc-macro", 34 | edition = "2015", 35 | srcs = glob(["**/*.rs"]), 36 | deps = [ 37 | "@raze__proc_macro2__0_4_27//:proc_macro2", 38 | "@raze__quote__0_6_11//:quote", 39 | "@raze__syn__0_15_29//:syn", 40 | "@raze__synstructure__0_10_1//:synstructure", 41 | ], 42 | rustc_flags = [ 43 | "--cap-lints=allow", 44 | ], 45 | version = "0.1.5", 46 | crate_features = [ 47 | ], 48 | ) 49 | 50 | # Unsupported target "no_derive_display" with type "test" omitted 51 | # Unsupported target "tests" with type "test" omitted 52 | # Unsupported target "wraps" with type "test" omitted 53 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/heck-0.3.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "restricted", # "MIT OR Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "heck", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__unicode_segmentation__1_2_1//:unicode_segmentation", 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.3.1", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/libc-0.2.50.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "restricted", # "MIT OR Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "libc", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.2.50", 40 | crate_features = [ 41 | "default", 42 | "use_std", 43 | ], 44 | ) 45 | 46 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/libflate-0.1.21.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "flate" with type "example" omitted 27 | 28 | rust_library( 29 | name = "libflate", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__adler32__1_0_3//:adler32", 36 | "@raze__byteorder__1_3_1//:byteorder", 37 | "@raze__crc32fast__1_2_0//:crc32fast", 38 | ], 39 | rustc_flags = [ 40 | "--cap-lints=allow", 41 | ], 42 | version = "0.1.21", 43 | crate_features = [ 44 | ], 45 | ) 46 | 47 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/proc-macro2-0.4.27.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | # Unsupported target "marker" with type "test" omitted 28 | 29 | rust_library( 30 | name = "proc_macro2", 31 | crate_root = "src/lib.rs", 32 | crate_type = "lib", 33 | edition = "2015", 34 | srcs = glob(["**/*.rs"]), 35 | deps = [ 36 | "@raze__unicode_xid__0_1_0//:unicode_xid", 37 | ], 38 | rustc_flags = [ 39 | "--cap-lints=allow", 40 | "--cfg=use_proc_macro", 41 | ], 42 | version = "0.4.27", 43 | crate_features = [ 44 | "default", 45 | "proc-macro", 46 | ], 47 | ) 48 | 49 | # Unsupported target "test" with type "test" omitted 50 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/quote-0.6.11.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "quote", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__proc_macro2__0_4_27//:proc_macro2", 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.6.11", 40 | crate_features = [ 41 | "default", 42 | "proc-macro", 43 | "proc-macro2", 44 | ], 45 | ) 46 | 47 | # Unsupported target "test" with type "test" omitted 48 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/redox_syscall-0.1.51.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | alias( 27 | name = "redox_syscall", 28 | actual = ":syscall", 29 | ) 30 | 31 | rust_library( 32 | name = "syscall", 33 | crate_root = "src/lib.rs", 34 | crate_type = "lib", 35 | edition = "2015", 36 | srcs = glob(["**/*.rs"]), 37 | deps = [ 38 | ], 39 | rustc_flags = [ 40 | "--cap-lints=allow", 41 | ], 42 | version = "0.1.51", 43 | crate_features = [ 44 | ], 45 | ) 46 | 47 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/redox_termios-0.1.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "redox_termios", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__redox_syscall__0_1_51//:redox_syscall", 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.1.1", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/rustc-demangle-0.1.13.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "rustc_demangle", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.1.13", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/strsim-0.7.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "lib" with type "test" omitted 27 | 28 | rust_library( 29 | name = "strsim", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.7.0", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/structopt-derive-0.2.15.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "Apache-2.0,MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "structopt_derive", 29 | crate_root = "src/lib.rs", 30 | crate_type = "proc-macro", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__heck__0_3_1//:heck", 35 | "@raze__proc_macro2__0_4_27//:proc_macro2", 36 | "@raze__quote__0_6_11//:quote", 37 | "@raze__syn__0_15_29//:syn", 38 | ], 39 | rustc_flags = [ 40 | "--cap-lints=allow", 41 | ], 42 | version = "0.2.15", 43 | crate_features = [ 44 | ], 45 | ) 46 | 47 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/syn-0.15.29.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "syn", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__proc_macro2__0_4_27//:proc_macro2", 36 | "@raze__quote__0_6_11//:quote", 37 | "@raze__unicode_xid__0_1_0//:unicode_xid", 38 | ], 39 | rustc_flags = [ 40 | "--cap-lints=allow", 41 | ], 42 | version = "0.15.29", 43 | crate_features = [ 44 | "clone-impls", 45 | "default", 46 | "derive", 47 | "extra-traits", 48 | "parsing", 49 | "printing", 50 | "proc-macro", 51 | "proc-macro2", 52 | "quote", 53 | "visit", 54 | ], 55 | ) 56 | 57 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/synstructure-0.10.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "synstructure", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__proc_macro2__0_4_27//:proc_macro2", 35 | "@raze__quote__0_6_11//:quote", 36 | "@raze__syn__0_15_29//:syn", 37 | "@raze__unicode_xid__0_1_0//:unicode_xid", 38 | ], 39 | rustc_flags = [ 40 | "--cap-lints=allow", 41 | ], 42 | version = "0.10.1", 43 | crate_features = [ 44 | ], 45 | ) 46 | 47 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/termion-1.5.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "alternate_screen" with type "example" omitted 27 | # Unsupported target "alternate_screen_raw" with type "example" omitted 28 | # Unsupported target "async" with type "example" omitted 29 | # Unsupported target "click" with type "example" omitted 30 | # Unsupported target "color" with type "example" omitted 31 | # Unsupported target "commie" with type "example" omitted 32 | # Unsupported target "detect_color" with type "example" omitted 33 | # Unsupported target "is_tty" with type "example" omitted 34 | # Unsupported target "keys" with type "example" omitted 35 | # Unsupported target "mouse" with type "example" omitted 36 | # Unsupported target "rainbow" with type "example" omitted 37 | # Unsupported target "read" with type "example" omitted 38 | # Unsupported target "rustc_fun" with type "example" omitted 39 | # Unsupported target "simple" with type "example" omitted 40 | # Unsupported target "size" with type "example" omitted 41 | 42 | rust_library( 43 | name = "termion", 44 | crate_root = "src/lib.rs", 45 | crate_type = "lib", 46 | edition = "2015", 47 | srcs = glob(["**/*.rs"]), 48 | deps = [ 49 | "@raze__libc__0_2_50//:libc", 50 | ], 51 | rustc_flags = [ 52 | "--cap-lints=allow", 53 | ], 54 | version = "1.5.1", 55 | crate_features = [ 56 | ], 57 | ) 58 | 59 | # Unsupported target "truecolor" with type "example" omitted 60 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/textwrap-0.10.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "layout" with type "example" omitted 27 | # Unsupported target "linear" with type "bench" omitted 28 | # Unsupported target "termwidth" with type "example" omitted 29 | 30 | rust_library( 31 | name = "textwrap", 32 | crate_root = "src/lib.rs", 33 | crate_type = "lib", 34 | edition = "2015", 35 | srcs = glob(["**/*.rs"]), 36 | deps = [ 37 | "@raze__unicode_width__0_1_5//:unicode_width", 38 | ], 39 | rustc_flags = [ 40 | "--cap-lints=allow", 41 | ], 42 | version = "0.10.0", 43 | crate_features = [ 44 | ], 45 | ) 46 | 47 | # Unsupported target "version-numbers" with type "test" omitted 48 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/unicode-segmentation-1.2.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "unicode_segmentation", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "1.2.1", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/unicode-width-0.1.5.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "unicode_width", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.1.5", 39 | crate_features = [ 40 | "default", 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/unicode-xid-0.1.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "unicode_xid", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.1.0", 39 | crate_features = [ 40 | "default", 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/vec_map-0.8.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "vec_map", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.8.1", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/winapi-0.3.6.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "winapi", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.3.6", 40 | crate_features = [ 41 | "consoleapi", 42 | "dbghelp", 43 | "errhandlingapi", 44 | "minwinbase", 45 | "minwindef", 46 | "processenv", 47 | "processthreadsapi", 48 | "winbase", 49 | "winnt", 50 | ], 51 | ) 52 | 53 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "winapi_i686_pc_windows_gnu", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.4.0", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /mkrootfs/raze/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//mkrootfs/raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "winapi_x86_64_pc_windows_gnu", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.4.0", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /pc_app/.bazelrc: -------------------------------------------------------------------------------- 1 | build:x86_64 --platforms @minimal_linux_bazel//toolchain:x86_64-unknown-linux-musl --extra_toolchains @minimal_linux_bazel//toolchain:rust-x86_64-unknown-linux-musl 2 | -------------------------------------------------------------------------------- /pc_app/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | /bazel-* 3 | -------------------------------------------------------------------------------- /pc_app/BUILD: -------------------------------------------------------------------------------- 1 | load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary") 2 | load("@minimal_linux_bazel//:rootfs.bzl", "rust_rootfs") 3 | load("@minimal_linux_bazel//:iso_image.bzl", "iso_image") 4 | 5 | rust_binary( 6 | name = "application", 7 | srcs = [ 8 | "src/driver.rs", 9 | "src/main.rs", 10 | "src/network.rs", 11 | ], 12 | edition = "2018", 13 | visibility = ["//visibility:public"], 14 | deps = [ 15 | "//raze:hyper", 16 | "//raze:libc", 17 | "//raze:nix", 18 | "//raze:sys_mount", 19 | ], 20 | ) 21 | 22 | rust_rootfs( 23 | name = "rootfs", 24 | out = "rootfs.gz", 25 | data = ["@e1000"], 26 | init = ":application", 27 | ) 28 | 29 | iso_image( 30 | name = "iso", 31 | out = "dist.iso", 32 | rootfs = "rootfs.gz", 33 | ) 34 | -------------------------------------------------------------------------------- /pc_app/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "minimal_linux_bazel_application" 3 | version = "0.1.0" 4 | authors = ["Daan de Graaf "] 5 | edition = "2018" 6 | 7 | [dependencies] 8 | nix = "0.13" 9 | libc = "0.2" 10 | hyper = "0.12" 11 | sys-mount = "1.2.0" 12 | -------------------------------------------------------------------------------- /pc_app/WORKSPACE: -------------------------------------------------------------------------------- 1 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 2 | 3 | # Rules rust 4 | http_archive( 5 | name = "io_bazel_rules_rust", 6 | sha256 = "c82118824b2448b77146f1dae97b6eaa717babedad0822aca4879f3cbbf2b7b5", 7 | strip_prefix = "rules_rust-3228ccd3814c2ad0d7307d2f87fb8ff9616149d7", 8 | urls = [ 9 | # Master branch as of 2018-12-11 10 | "https://github.com/bazelbuild/rules_rust/archive/3228ccd3814c2ad0d7307d2f87fb8ff9616149d7.tar.gz", 11 | ], 12 | ) 13 | 14 | http_archive( 15 | name = "bazel_skylib", 16 | sha256 = "eb5c57e4c12e68c0c20bc774bfbc60a568e800d025557bc4ea022c6479acc867", 17 | strip_prefix = "bazel-skylib-0.6.0", 18 | url = "https://github.com/bazelbuild/bazel-skylib/archive/0.6.0.tar.gz", 19 | ) 20 | 21 | load("@io_bazel_rules_rust//:workspace.bzl", "bazel_version") 22 | 23 | bazel_version(name = "bazel_version") 24 | 25 | local_repository( 26 | name = "minimal_linux_bazel", 27 | path = "../", 28 | ) 29 | 30 | # minimal linux bazel dependencies 31 | load("@minimal_linux_bazel//:fetch.bzl", "fetch_dependencies") 32 | 33 | fetch_dependencies() 34 | 35 | # Application dependencies 36 | load("//:raze/crates.bzl", "raze_fetch_remote_crates") 37 | 38 | raze_fetch_remote_crates() 39 | 40 | # Kernel and drivers 41 | load("@minimal_linux_bazel//:kernel.bzl", "kernel_driver", "kernel_repository") 42 | 43 | KERNEL_SHA256 = "5b22a60437f2604166679c29a08b51b4a6696829378a60ab745ae9f5a0b2d932" 44 | 45 | KERNEL_NAME = "5.0.2.arch1-1-x86_64" 46 | 47 | kernel_repository(KERNEL_NAME, KERNEL_SHA256) 48 | 49 | kernel_driver("e1000", "net/ethernet/intel/e1000", KERNEL_NAME, KERNEL_SHA256) 50 | -------------------------------------------------------------------------------- /pc_app/qemu_run.sh: -------------------------------------------------------------------------------- 1 | bazel build --config=x86_64 //:iso && \ 2 | qemu-system-x86_64 \ 3 | -m 128M \ 4 | -cdrom bazel-bin/dist.iso \ 5 | -boot d \ 6 | -nographic \ 7 | -netdev user,id=n1,hostfwd=tcp::3000-:3000 \ 8 | -device e1000,netdev=n1 9 | -------------------------------------------------------------------------------- /pc_app/raze/BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze workspace build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = ["//visibility:public"]) 7 | 8 | licenses([ 9 | "notice" # See individual crates for specific licenses 10 | ]) 11 | alias( 12 | name = "hyper", 13 | actual = "@raze__hyper__0_12_25//:hyper", 14 | ) 15 | alias( 16 | name = "libc", 17 | actual = "@raze__libc__0_2_50//:libc", 18 | ) 19 | alias( 20 | name = "nix", 21 | actual = "@raze__nix__0_13_0//:nix", 22 | ) 23 | alias( 24 | name = "sys_mount", 25 | actual = "@raze__sys_mount__1_2_0//:sys_mount", 26 | ) 27 | -------------------------------------------------------------------------------- /pc_app/raze/Cargo.toml: -------------------------------------------------------------------------------- 1 | # This Cargo.toml is used by cargo-raze to generate BUILD files for dependencies. 2 | [package] 3 | name = "minimal_linux_bazel_application" 4 | version = "0.1.0" 5 | authors = ["Daan de Graaf "] 6 | edition = "2018" 7 | 8 | [lib] 9 | path = "fake_lib.rs" 10 | 11 | [dependencies] 12 | nix = "0.13" 13 | libc = "0.2" 14 | hyper = "0.12" 15 | sys-mount = "1.2.0" 16 | 17 | [raze] 18 | workspace_path = "//raze" 19 | target = "x86_64-unknown-linux-musl" 20 | genmode = "Remote" 21 | -------------------------------------------------------------------------------- /pc_app/raze/remote/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wildarch/minimal-linux-bazel/1af646fd906cb1b07d60b8094d3722e169c6a612/pc_app/raze/remote/BUILD -------------------------------------------------------------------------------- /pc_app/raze/remote/arrayvec-0.4.10.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "arraystring" with type "bench" omitted 27 | 28 | rust_library( 29 | name = "arrayvec", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__nodrop__0_1_13//:nodrop", 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.4.10", 41 | crate_features = [ 42 | ], 43 | ) 44 | 45 | # Unsupported target "build-script-build" with type "custom-build" omitted 46 | # Unsupported target "extend" with type "bench" omitted 47 | # Unsupported target "serde" with type "test" omitted 48 | # Unsupported target "tests" with type "test" omitted 49 | -------------------------------------------------------------------------------- /pc_app/raze/remote/autocfg-0.1.2.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "Apache-2.0,MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "autocfg", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.1.2", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | # Unsupported target "integers" with type "example" omitted 44 | # Unsupported target "paths" with type "example" omitted 45 | # Unsupported target "traits" with type "example" omitted 46 | # Unsupported target "versions" with type "example" omitted 47 | -------------------------------------------------------------------------------- /pc_app/raze/remote/bitflags-1.0.4.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "bitflags", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "1.0.4", 39 | crate_features = [ 40 | "default", 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /pc_app/raze/remote/byteorder-1.3.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "restricted", # "Unlicense OR MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "bench" with type "bench" omitted 27 | # Unsupported target "build-script-build" with type "custom-build" omitted 28 | 29 | rust_library( 30 | name = "byteorder", 31 | crate_root = "src/lib.rs", 32 | crate_type = "lib", 33 | edition = "2015", 34 | srcs = glob(["**/*.rs"]), 35 | deps = [ 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "1.3.1", 41 | crate_features = [ 42 | "default", 43 | "std", 44 | ], 45 | ) 46 | 47 | -------------------------------------------------------------------------------- /pc_app/raze/remote/bytes-0.4.12.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "bytes" with type "bench" omitted 27 | 28 | rust_library( 29 | name = "bytes", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__byteorder__1_3_1//:byteorder", 36 | "@raze__iovec__0_1_2//:iovec", 37 | ], 38 | rustc_flags = [ 39 | "--cap-lints=allow", 40 | ], 41 | version = "0.4.12", 42 | crate_features = [ 43 | ], 44 | ) 45 | 46 | # Unsupported target "test_buf" with type "test" omitted 47 | # Unsupported target "test_buf_mut" with type "test" omitted 48 | # Unsupported target "test_bytes" with type "test" omitted 49 | # Unsupported target "test_chain" with type "test" omitted 50 | # Unsupported target "test_debug" with type "test" omitted 51 | # Unsupported target "test_from_buf" with type "test" omitted 52 | # Unsupported target "test_iter" with type "test" omitted 53 | # Unsupported target "test_reader" with type "test" omitted 54 | # Unsupported target "test_serde" with type "test" omitted 55 | # Unsupported target "test_take" with type "test" omitted 56 | -------------------------------------------------------------------------------- /pc_app/raze/remote/cc-1.0.31.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "cc", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "1.0.31", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | # Unsupported target "cc_env" with type "test" omitted 44 | rust_binary( 45 | # Prefix bin name to disambiguate from (probable) collision with lib name 46 | # N.B.: The exact form of this is subject to change. 47 | name = "cargo_bin_gcc_shim", 48 | crate_root = "src/bin/gcc-shim.rs", 49 | edition = "2015", 50 | srcs = glob(["**/*.rs"]), 51 | deps = [ 52 | # Binaries get an implicit dependency on their lib 53 | ":cc", 54 | ], 55 | rustc_flags = [ 56 | "--cap-lints=allow", 57 | ], 58 | version = "1.0.31", 59 | crate_features = [ 60 | ], 61 | ) 62 | 63 | # Unsupported target "test" with type "test" omitted 64 | -------------------------------------------------------------------------------- /pc_app/raze/remote/cfg-if-0.1.7.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "cfg_if", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.1.7", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | # Unsupported target "xcrate" with type "test" omitted 44 | -------------------------------------------------------------------------------- /pc_app/raze/remote/cloudabi-0.0.3.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "restricted", # "BSD-2-Clause" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "cloudabi", 29 | crate_root = "cloudabi.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__bitflags__1_0_4//:bitflags", 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.0.3", 40 | crate_features = [ 41 | "bitflags", 42 | "default", 43 | ], 44 | ) 45 | 46 | -------------------------------------------------------------------------------- /pc_app/raze/remote/crossbeam-deque-0.7.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "crossbeam_deque", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__crossbeam_epoch__0_7_1//:crossbeam_epoch", 35 | "@raze__crossbeam_utils__0_6_5//:crossbeam_utils", 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.7.1", 41 | crate_features = [ 42 | ], 43 | ) 44 | 45 | # Unsupported target "fifo" with type "test" omitted 46 | # Unsupported target "injector" with type "test" omitted 47 | # Unsupported target "lifo" with type "test" omitted 48 | # Unsupported target "steal" with type "test" omitted 49 | -------------------------------------------------------------------------------- /pc_app/raze/remote/crossbeam-epoch-0.7.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "crossbeam_epoch", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__arrayvec__0_4_10//:arrayvec", 35 | "@raze__cfg_if__0_1_7//:cfg_if", 36 | "@raze__crossbeam_utils__0_6_5//:crossbeam_utils", 37 | "@raze__lazy_static__1_3_0//:lazy_static", 38 | "@raze__memoffset__0_2_1//:memoffset", 39 | "@raze__scopeguard__0_3_3//:scopeguard", 40 | ], 41 | rustc_flags = [ 42 | "--cap-lints=allow", 43 | ], 44 | version = "0.7.1", 45 | crate_features = [ 46 | "crossbeam-utils", 47 | "default", 48 | "lazy_static", 49 | "std", 50 | ], 51 | ) 52 | 53 | # Unsupported target "defer" with type "bench" omitted 54 | # Unsupported target "flush" with type "bench" omitted 55 | # Unsupported target "pin" with type "bench" omitted 56 | # Unsupported target "sanitize" with type "example" omitted 57 | # Unsupported target "treiber_stack" with type "example" omitted 58 | -------------------------------------------------------------------------------- /pc_app/raze/remote/crossbeam-queue-0.1.2.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "array_queue" with type "test" omitted 27 | 28 | rust_library( 29 | name = "crossbeam_queue", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__crossbeam_utils__0_6_5//:crossbeam_utils", 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.1.2", 41 | crate_features = [ 42 | ], 43 | ) 44 | 45 | # Unsupported target "seg_queue" with type "test" omitted 46 | -------------------------------------------------------------------------------- /pc_app/raze/remote/crossbeam-utils-0.6.5.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "atomic_cell" with type "bench" omitted 27 | # Unsupported target "atomic_cell" with type "test" omitted 28 | # Unsupported target "cache_padded" with type "test" omitted 29 | 30 | rust_library( 31 | name = "crossbeam_utils", 32 | crate_root = "src/lib.rs", 33 | crate_type = "lib", 34 | edition = "2015", 35 | srcs = glob(["**/*.rs"]), 36 | deps = [ 37 | "@raze__cfg_if__0_1_7//:cfg_if", 38 | "@raze__lazy_static__1_3_0//:lazy_static", 39 | ], 40 | rustc_flags = [ 41 | "--cap-lints=allow", 42 | ], 43 | version = "0.6.5", 44 | crate_features = [ 45 | "default", 46 | "lazy_static", 47 | "std", 48 | ], 49 | ) 50 | 51 | # Unsupported target "parker" with type "test" omitted 52 | # Unsupported target "sharded_lock" with type "test" omitted 53 | # Unsupported target "thread" with type "test" omitted 54 | # Unsupported target "wait_group" with type "test" omitted 55 | -------------------------------------------------------------------------------- /pc_app/raze/remote/errno-0.2.4.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "errno", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__libc__0_2_50//:libc", 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.2.4", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /pc_app/raze/remote/errno-dragonfly-0.1.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "errno_dragonfly", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__libc__0_2_50//:libc", 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.1.1", 41 | crate_features = [ 42 | ], 43 | ) 44 | 45 | -------------------------------------------------------------------------------- /pc_app/raze/remote/fnv-1.0.6.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "Apache-2.0,MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "fnv", 29 | crate_root = "lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "1.0.6", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | -------------------------------------------------------------------------------- /pc_app/raze/remote/fuchsia-cprng-0.1.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "restricted", # "no license" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "fuchsia_cprng", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2018", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.1.1", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | -------------------------------------------------------------------------------- /pc_app/raze/remote/fuchsia-zircon-0.3.3.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "BSD-3-Clause" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "fuchsia_zircon", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__bitflags__1_0_4//:bitflags", 35 | "@raze__fuchsia_zircon_sys__0_3_3//:fuchsia_zircon_sys", 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.3.3", 41 | crate_features = [ 42 | ], 43 | ) 44 | 45 | -------------------------------------------------------------------------------- /pc_app/raze/remote/fuchsia-zircon-sys-0.3.3.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "BSD-3-Clause" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "fuchsia_zircon_sys", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.3.3", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | # Unsupported target "hello" with type "example" omitted 44 | -------------------------------------------------------------------------------- /pc_app/raze/remote/futures-cpupool-0.1.8.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "futures_cpupool", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__futures__0_1_25//:futures", 35 | "@raze__num_cpus__1_10_0//:num_cpus", 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.1.8", 41 | crate_features = [ 42 | "default", 43 | "futures", 44 | "with-deprecated", 45 | ], 46 | ) 47 | 48 | # Unsupported target "smoke" with type "test" omitted 49 | -------------------------------------------------------------------------------- /pc_app/raze/remote/gcc-0.3.55.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "cc_env" with type "test" omitted 27 | 28 | rust_library( 29 | name = "gcc", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.3.55", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | rust_binary( 45 | # Prefix bin name to disambiguate from (probable) collision with lib name 46 | # N.B.: The exact form of this is subject to change. 47 | name = "cargo_bin_gcc_shim", 48 | crate_root = "src/bin/gcc-shim.rs", 49 | edition = "2015", 50 | srcs = glob(["**/*.rs"]), 51 | deps = [ 52 | # Binaries get an implicit dependency on their lib 53 | ":gcc", 54 | ], 55 | rustc_flags = [ 56 | "--cap-lints=allow", 57 | ], 58 | version = "0.3.55", 59 | crate_features = [ 60 | ], 61 | ) 62 | 63 | # Unsupported target "test" with type "test" omitted 64 | -------------------------------------------------------------------------------- /pc_app/raze/remote/h2-0.1.17.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "akamai" with type "example" omitted 27 | # Unsupported target "client" with type "example" omitted 28 | 29 | rust_library( 30 | name = "h2", 31 | crate_root = "src/lib.rs", 32 | crate_type = "lib", 33 | edition = "2015", 34 | srcs = glob(["**/*.rs"]), 35 | deps = [ 36 | "@raze__byteorder__1_3_1//:byteorder", 37 | "@raze__bytes__0_4_12//:bytes", 38 | "@raze__fnv__1_0_6//:fnv", 39 | "@raze__futures__0_1_25//:futures", 40 | "@raze__http__0_1_16//:http", 41 | "@raze__indexmap__1_0_2//:indexmap", 42 | "@raze__log__0_4_6//:log", 43 | "@raze__slab__0_4_2//:slab", 44 | "@raze__string__0_1_3//:string", 45 | "@raze__tokio_io__0_1_12//:tokio_io", 46 | ], 47 | rustc_flags = [ 48 | "--cap-lints=allow", 49 | ], 50 | version = "0.1.17", 51 | crate_features = [ 52 | ], 53 | ) 54 | 55 | # Unsupported target "server" with type "example" omitted 56 | -------------------------------------------------------------------------------- /pc_app/raze/remote/http-0.1.16.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "header_map" with type "bench" omitted 27 | # Unsupported target "header_map" with type "test" omitted 28 | # Unsupported target "header_map_fuzz" with type "test" omitted 29 | # Unsupported target "header_value" with type "bench" omitted 30 | 31 | rust_library( 32 | name = "http", 33 | crate_root = "src/lib.rs", 34 | crate_type = "lib", 35 | edition = "2015", 36 | srcs = glob(["**/*.rs"]), 37 | deps = [ 38 | "@raze__bytes__0_4_12//:bytes", 39 | "@raze__fnv__1_0_6//:fnv", 40 | "@raze__itoa__0_4_3//:itoa", 41 | ], 42 | rustc_flags = [ 43 | "--cap-lints=allow", 44 | ], 45 | version = "0.1.16", 46 | crate_features = [ 47 | ], 48 | ) 49 | 50 | # Unsupported target "status_code" with type "test" omitted 51 | # Unsupported target "uri" with type "bench" omitted 52 | -------------------------------------------------------------------------------- /pc_app/raze/remote/httparse-1.3.3.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "httparse", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "1.3.3", 40 | crate_features = [ 41 | "default", 42 | "std", 43 | ], 44 | ) 45 | 46 | # Unsupported target "parse" with type "bench" omitted 47 | # Unsupported target "uri" with type "test" omitted 48 | -------------------------------------------------------------------------------- /pc_app/raze/remote/indexmap-1.0.2.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "Apache-2.0,MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "bench" with type "bench" omitted 27 | # Unsupported target "equivalent_trait" with type "test" omitted 28 | # Unsupported target "faststring" with type "bench" omitted 29 | 30 | rust_library( 31 | name = "indexmap", 32 | crate_root = "src/lib.rs", 33 | crate_type = "lib", 34 | edition = "2015", 35 | srcs = glob(["**/*.rs"]), 36 | deps = [ 37 | ], 38 | rustc_flags = [ 39 | "--cap-lints=allow", 40 | ], 41 | version = "1.0.2", 42 | crate_features = [ 43 | ], 44 | ) 45 | 46 | # Unsupported target "quick" with type "test" omitted 47 | # Unsupported target "serde" with type "test" omitted 48 | # Unsupported target "tests" with type "test" omitted 49 | -------------------------------------------------------------------------------- /pc_app/raze/remote/iovec-0.1.2.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "iovec", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__libc__0_2_50//:libc", 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.1.2", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /pc_app/raze/remote/itoa-0.4.3.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "bench" with type "bench" omitted 27 | 28 | rust_library( 29 | name = "itoa", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.4.3", 40 | crate_features = [ 41 | "default", 42 | "std", 43 | ], 44 | ) 45 | 46 | # Unsupported target "test" with type "test" omitted 47 | -------------------------------------------------------------------------------- /pc_app/raze/remote/kernel32-sys-0.2.2.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | alias( 28 | name = "kernel32_sys", 29 | actual = ":kernel32", 30 | ) 31 | 32 | rust_library( 33 | name = "kernel32", 34 | crate_root = "src/lib.rs", 35 | crate_type = "lib", 36 | edition = "2015", 37 | srcs = glob(["**/*.rs"]), 38 | deps = [ 39 | "@raze__winapi__0_2_8//:winapi", 40 | ], 41 | rustc_flags = [ 42 | "--cap-lints=allow", 43 | ], 44 | version = "0.2.2", 45 | crate_features = [ 46 | ], 47 | ) 48 | 49 | -------------------------------------------------------------------------------- /pc_app/raze/remote/lazy_static-1.3.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "lazy_static", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "1.3.0", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | # Unsupported target "no_std" with type "test" omitted 44 | # Unsupported target "test" with type "test" omitted 45 | -------------------------------------------------------------------------------- /pc_app/raze/remote/lazycell-1.2.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "lazycell", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "1.2.1", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | -------------------------------------------------------------------------------- /pc_app/raze/remote/libc-0.2.50.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "restricted", # "MIT OR Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "libc", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.2.50", 40 | crate_features = [ 41 | "default", 42 | "use_std", 43 | ], 44 | ) 45 | 46 | -------------------------------------------------------------------------------- /pc_app/raze/remote/lock_api-0.1.5.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "Apache-2.0,MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "lock_api", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__owning_ref__0_4_0//:owning_ref", 35 | "@raze__scopeguard__0_3_3//:scopeguard", 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.1.5", 41 | crate_features = [ 42 | "owning_ref", 43 | ], 44 | ) 45 | 46 | -------------------------------------------------------------------------------- /pc_app/raze/remote/log-0.4.6.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "filters" with type "test" omitted 27 | 28 | rust_library( 29 | name = "log", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__cfg_if__0_1_7//:cfg_if", 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.4.6", 41 | crate_features = [ 42 | ], 43 | ) 44 | 45 | -------------------------------------------------------------------------------- /pc_app/raze/remote/loopdev-0.2.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "loopdev", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__errno__0_2_4//:errno", 35 | "@raze__libc__0_2_50//:libc", 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.2.1", 41 | crate_features = [ 42 | ], 43 | ) 44 | 45 | -------------------------------------------------------------------------------- /pc_app/raze/remote/memoffset-0.2.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "memoffset", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.2.1", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | -------------------------------------------------------------------------------- /pc_app/raze/remote/mio-0.6.16.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "bench_poll" with type "bench" omitted 27 | 28 | rust_library( 29 | name = "mio", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__iovec__0_1_2//:iovec", 36 | "@raze__lazycell__1_2_1//:lazycell", 37 | "@raze__libc__0_2_50//:libc", 38 | "@raze__log__0_4_6//:log", 39 | "@raze__net2__0_2_33//:net2", 40 | "@raze__slab__0_4_2//:slab", 41 | ], 42 | rustc_flags = [ 43 | "--cap-lints=allow", 44 | ], 45 | version = "0.6.16", 46 | crate_features = [ 47 | "default", 48 | "with-deprecated", 49 | ], 50 | ) 51 | 52 | # Unsupported target "test" with type "test" omitted 53 | -------------------------------------------------------------------------------- /pc_app/raze/remote/miow-0.2.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "miow", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__kernel32_sys__0_2_2//:kernel32_sys", 35 | "@raze__net2__0_2_33//:net2", 36 | "@raze__winapi__0_2_8//:winapi", 37 | "@raze__ws2_32_sys__0_2_1//:ws2_32_sys", 38 | ], 39 | rustc_flags = [ 40 | "--cap-lints=allow", 41 | ], 42 | version = "0.2.1", 43 | crate_features = [ 44 | ], 45 | ) 46 | 47 | -------------------------------------------------------------------------------- /pc_app/raze/remote/net2-0.2.33.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "all" with type "test" omitted 27 | 28 | rust_library( 29 | name = "net2", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__cfg_if__0_1_7//:cfg_if", 36 | "@raze__libc__0_2_50//:libc", 37 | ], 38 | rustc_flags = [ 39 | "--cap-lints=allow", 40 | ], 41 | version = "0.2.33", 42 | crate_features = [ 43 | "default", 44 | "duration", 45 | ], 46 | ) 47 | 48 | -------------------------------------------------------------------------------- /pc_app/raze/remote/nix-0.13.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "nix", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__bitflags__1_0_4//:bitflags", 36 | "@raze__cfg_if__0_1_7//:cfg_if", 37 | "@raze__libc__0_2_50//:libc", 38 | "@raze__void__1_0_2//:void", 39 | ], 40 | rustc_flags = [ 41 | "--cap-lints=allow", 42 | ], 43 | version = "0.13.0", 44 | crate_features = [ 45 | ], 46 | ) 47 | 48 | # Unsupported target "test" with type "test" omitted 49 | # Unsupported target "test-aio-drop" with type "test" omitted 50 | # Unsupported target "test-lio-listio-resubmit" with type "test" omitted 51 | # Unsupported target "test-mount" with type "test" omitted 52 | # Unsupported target "test-ptymaster-drop" with type "test" omitted 53 | -------------------------------------------------------------------------------- /pc_app/raze/remote/nodrop-0.1.13.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "nodrop", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.1.13", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | -------------------------------------------------------------------------------- /pc_app/raze/remote/num_cpus-1.10.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "num_cpus", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__libc__0_2_50//:libc", 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "1.10.0", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /pc_app/raze/remote/owning_ref-0.4.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "owning_ref", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__stable_deref_trait__1_1_1//:stable_deref_trait", 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.4.0", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /pc_app/raze/remote/parking_lot-0.7.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "Apache-2.0,MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "parking_lot", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__lock_api__0_1_5//:lock_api", 35 | "@raze__parking_lot_core__0_4_0//:parking_lot_core", 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.7.1", 41 | crate_features = [ 42 | "default", 43 | "lock_api", 44 | "owning_ref", 45 | ], 46 | ) 47 | 48 | -------------------------------------------------------------------------------- /pc_app/raze/remote/parking_lot_core-0.4.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "Apache-2.0,MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "parking_lot_core", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__libc__0_2_50//:libc", 36 | "@raze__rand__0_6_5//:rand", 37 | "@raze__smallvec__0_6_9//:smallvec", 38 | ], 39 | rustc_flags = [ 40 | "--cap-lints=allow", 41 | ], 42 | version = "0.4.0", 43 | crate_features = [ 44 | ], 45 | ) 46 | 47 | -------------------------------------------------------------------------------- /pc_app/raze/remote/rand-0.6.5.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | # Unsupported target "distributions" with type "bench" omitted 28 | # Unsupported target "generators" with type "bench" omitted 29 | # Unsupported target "misc" with type "bench" omitted 30 | # Unsupported target "monte-carlo" with type "example" omitted 31 | # Unsupported target "monty-hall" with type "example" omitted 32 | 33 | rust_library( 34 | name = "rand", 35 | crate_root = "src/lib.rs", 36 | crate_type = "lib", 37 | edition = "2015", 38 | srcs = glob(["**/*.rs"]), 39 | deps = [ 40 | "@raze__libc__0_2_50//:libc", 41 | "@raze__rand_chacha__0_1_1//:rand_chacha", 42 | "@raze__rand_core__0_4_0//:rand_core", 43 | "@raze__rand_hc__0_1_0//:rand_hc", 44 | "@raze__rand_isaac__0_1_1//:rand_isaac", 45 | "@raze__rand_jitter__0_1_3//:rand_jitter", 46 | "@raze__rand_os__0_1_3//:rand_os", 47 | "@raze__rand_pcg__0_1_2//:rand_pcg", 48 | "@raze__rand_xorshift__0_1_1//:rand_xorshift", 49 | ], 50 | rustc_flags = [ 51 | "--cap-lints=allow", 52 | ], 53 | version = "0.6.5", 54 | crate_features = [ 55 | "alloc", 56 | "default", 57 | "rand_core", 58 | "rand_jitter", 59 | "rand_os", 60 | "std", 61 | ], 62 | ) 63 | 64 | # Unsupported target "seq" with type "bench" omitted 65 | # Unsupported target "uniformity" with type "test" omitted 66 | -------------------------------------------------------------------------------- /pc_app/raze/remote/rand_chacha-0.1.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "rand_chacha", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__rand_core__0_3_1//:rand_core", 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.1.1", 41 | crate_features = [ 42 | ], 43 | ) 44 | 45 | -------------------------------------------------------------------------------- /pc_app/raze/remote/rand_core-0.3.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "rand_core", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__rand_core__0_4_0//:rand_core", 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.3.1", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /pc_app/raze/remote/rand_core-0.4.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "rand_core", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.4.0", 39 | crate_features = [ 40 | "alloc", 41 | "std", 42 | ], 43 | ) 44 | 45 | -------------------------------------------------------------------------------- /pc_app/raze/remote/rand_hc-0.1.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "rand_hc", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__rand_core__0_3_1//:rand_core", 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.1.0", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /pc_app/raze/remote/rand_isaac-0.1.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "rand_isaac", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__rand_core__0_3_1//:rand_core", 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.1.1", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /pc_app/raze/remote/rand_jitter-0.1.3.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "mod" with type "bench" omitted 27 | # Unsupported target "mod" with type "test" omitted 28 | 29 | rust_library( 30 | name = "rand_jitter", 31 | crate_root = "src/lib.rs", 32 | crate_type = "lib", 33 | edition = "2015", 34 | srcs = glob(["**/*.rs"]), 35 | deps = [ 36 | "@raze__rand_core__0_4_0//:rand_core", 37 | ], 38 | rustc_flags = [ 39 | "--cap-lints=allow", 40 | ], 41 | version = "0.1.3", 42 | crate_features = [ 43 | "rand_core", 44 | "std", 45 | ], 46 | ) 47 | 48 | -------------------------------------------------------------------------------- /pc_app/raze/remote/rand_os-0.1.3.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "mod" with type "test" omitted 27 | 28 | rust_library( 29 | name = "rand_os", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__libc__0_2_50//:libc", 36 | "@raze__rand_core__0_4_0//:rand_core", 37 | ], 38 | rustc_flags = [ 39 | "--cap-lints=allow", 40 | ], 41 | version = "0.1.3", 42 | crate_features = [ 43 | ], 44 | ) 45 | 46 | -------------------------------------------------------------------------------- /pc_app/raze/remote/rand_pcg-0.1.2.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | # Unsupported target "lcg64xsh32" with type "test" omitted 28 | # Unsupported target "mcg128xsl64" with type "test" omitted 29 | 30 | rust_library( 31 | name = "rand_pcg", 32 | crate_root = "src/lib.rs", 33 | crate_type = "lib", 34 | edition = "2015", 35 | srcs = glob(["**/*.rs"]), 36 | deps = [ 37 | "@raze__rand_core__0_4_0//:rand_core", 38 | ], 39 | rustc_flags = [ 40 | "--cap-lints=allow", 41 | ], 42 | version = "0.1.2", 43 | crate_features = [ 44 | ], 45 | ) 46 | 47 | -------------------------------------------------------------------------------- /pc_app/raze/remote/rand_xorshift-0.1.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "mod" with type "test" omitted 27 | 28 | rust_library( 29 | name = "rand_xorshift", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__rand_core__0_3_1//:rand_core", 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.1.1", 41 | crate_features = [ 42 | ], 43 | ) 44 | 45 | -------------------------------------------------------------------------------- /pc_app/raze/remote/rdrand-0.4.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "ISC" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "rdrand" with type "bench" omitted 27 | 28 | rust_library( 29 | name = "rdrand", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__rand_core__0_3_1//:rand_core", 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.4.0", 41 | crate_features = [ 42 | "default", 43 | "std", 44 | ], 45 | ) 46 | 47 | # Unsupported target "rdseed" with type "bench" omitted 48 | # Unsupported target "std" with type "bench" omitted 49 | -------------------------------------------------------------------------------- /pc_app/raze/remote/redox_syscall-0.1.51.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | alias( 27 | name = "redox_syscall", 28 | actual = ":syscall", 29 | ) 30 | 31 | rust_library( 32 | name = "syscall", 33 | crate_root = "src/lib.rs", 34 | crate_type = "lib", 35 | edition = "2015", 36 | srcs = glob(["**/*.rs"]), 37 | deps = [ 38 | ], 39 | rustc_flags = [ 40 | "--cap-lints=allow", 41 | ], 42 | version = "0.1.51", 43 | crate_features = [ 44 | ], 45 | ) 46 | 47 | -------------------------------------------------------------------------------- /pc_app/raze/remote/rustc_version-0.2.3.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "rustc_version", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__semver__0_9_0//:semver", 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.2.3", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /pc_app/raze/remote/scopeguard-0.3.3.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "readme" with type "example" omitted 27 | 28 | rust_library( 29 | name = "scopeguard", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.3.3", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /pc_app/raze/remote/semver-0.9.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "deprecation" with type "test" omitted 27 | # Unsupported target "regression" with type "test" omitted 28 | 29 | rust_library( 30 | name = "semver", 31 | crate_root = "src/lib.rs", 32 | crate_type = "lib", 33 | edition = "2015", 34 | srcs = glob(["**/*.rs"]), 35 | deps = [ 36 | "@raze__semver_parser__0_7_0//:semver_parser", 37 | ], 38 | rustc_flags = [ 39 | "--cap-lints=allow", 40 | ], 41 | version = "0.9.0", 42 | crate_features = [ 43 | "default", 44 | ], 45 | ) 46 | 47 | # Unsupported target "serde" with type "test" omitted 48 | -------------------------------------------------------------------------------- /pc_app/raze/remote/semver-parser-0.7.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "semver_parser", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.7.0", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | -------------------------------------------------------------------------------- /pc_app/raze/remote/slab-0.4.2.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "slab", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.4.2", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | # Unsupported target "slab" with type "test" omitted 44 | -------------------------------------------------------------------------------- /pc_app/raze/remote/smallvec-0.6.9.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "bench" with type "bench" omitted 27 | 28 | rust_library( 29 | name = "smallvec", 30 | crate_root = "lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.6.9", 40 | crate_features = [ 41 | "default", 42 | "std", 43 | ], 44 | ) 45 | 46 | -------------------------------------------------------------------------------- /pc_app/raze/remote/stable_deref_trait-1.1.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "stable_deref_trait", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "1.1.1", 39 | crate_features = [ 40 | "default", 41 | "std", 42 | ], 43 | ) 44 | 45 | -------------------------------------------------------------------------------- /pc_app/raze/remote/string-0.1.3.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "string", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.1.3", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | -------------------------------------------------------------------------------- /pc_app/raze/remote/sys-mount-1.2.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "mount" with type "example" omitted 27 | 28 | rust_library( 29 | name = "sys_mount", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__bitflags__1_0_4//:bitflags", 36 | "@raze__libc__0_2_50//:libc", 37 | "@raze__loopdev__0_2_1//:loopdev", 38 | ], 39 | rustc_flags = [ 40 | "--cap-lints=allow", 41 | ], 42 | version = "1.2.0", 43 | crate_features = [ 44 | ], 45 | ) 46 | 47 | # Unsupported target "umount" with type "example" omitted 48 | -------------------------------------------------------------------------------- /pc_app/raze/remote/time-0.1.42.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "precise_time_ns" with type "bench" omitted 27 | 28 | rust_library( 29 | name = "time", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__libc__0_2_50//:libc", 36 | ], 37 | rustc_flags = [ 38 | "--cap-lints=allow", 39 | ], 40 | version = "0.1.42", 41 | crate_features = [ 42 | ], 43 | ) 44 | 45 | -------------------------------------------------------------------------------- /pc_app/raze/remote/tokio-current-thread-0.1.5.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "current_thread" with type "test" omitted 27 | 28 | rust_library( 29 | name = "tokio_current_thread", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__futures__0_1_25//:futures", 36 | "@raze__tokio_executor__0_1_6//:tokio_executor", 37 | ], 38 | rustc_flags = [ 39 | "--cap-lints=allow", 40 | ], 41 | version = "0.1.5", 42 | crate_features = [ 43 | ], 44 | ) 45 | 46 | -------------------------------------------------------------------------------- /pc_app/raze/remote/tokio-executor-0.1.6.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "executor" with type "test" omitted 27 | 28 | rust_library( 29 | name = "tokio_executor", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__crossbeam_utils__0_6_5//:crossbeam_utils", 36 | "@raze__futures__0_1_25//:futures", 37 | ], 38 | rustc_flags = [ 39 | "--cap-lints=allow", 40 | ], 41 | version = "0.1.6", 42 | crate_features = [ 43 | ], 44 | ) 45 | 46 | -------------------------------------------------------------------------------- /pc_app/raze/remote/tokio-io-0.1.12.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "async_read" with type "test" omitted 27 | # Unsupported target "length_delimited" with type "test" omitted 28 | 29 | rust_library( 30 | name = "tokio_io", 31 | crate_root = "src/lib.rs", 32 | crate_type = "lib", 33 | edition = "2015", 34 | srcs = glob(["**/*.rs"]), 35 | deps = [ 36 | "@raze__bytes__0_4_12//:bytes", 37 | "@raze__futures__0_1_25//:futures", 38 | "@raze__log__0_4_6//:log", 39 | ], 40 | rustc_flags = [ 41 | "--cap-lints=allow", 42 | ], 43 | version = "0.1.12", 44 | crate_features = [ 45 | ], 46 | ) 47 | 48 | -------------------------------------------------------------------------------- /pc_app/raze/remote/tokio-reactor-0.1.9.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "basic" with type "bench" omitted 27 | 28 | rust_library( 29 | name = "tokio_reactor", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | "@raze__crossbeam_utils__0_6_5//:crossbeam_utils", 36 | "@raze__futures__0_1_25//:futures", 37 | "@raze__lazy_static__1_3_0//:lazy_static", 38 | "@raze__log__0_4_6//:log", 39 | "@raze__mio__0_6_16//:mio", 40 | "@raze__num_cpus__1_10_0//:num_cpus", 41 | "@raze__parking_lot__0_7_1//:parking_lot", 42 | "@raze__slab__0_4_2//:slab", 43 | "@raze__tokio_executor__0_1_6//:tokio_executor", 44 | "@raze__tokio_io__0_1_12//:tokio_io", 45 | "@raze__tokio_sync__0_1_4//:tokio_sync", 46 | ], 47 | rustc_flags = [ 48 | "--cap-lints=allow", 49 | ], 50 | version = "0.1.9", 51 | crate_features = [ 52 | ], 53 | ) 54 | 55 | -------------------------------------------------------------------------------- /pc_app/raze/remote/tokio-sync-0.1.4.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "atomic_task" with type "test" omitted 27 | # Unsupported target "errors" with type "test" omitted 28 | # Unsupported target "fuzz_atomic_task" with type "test" omitted 29 | # Unsupported target "fuzz_list" with type "test" omitted 30 | # Unsupported target "fuzz_mpsc" with type "test" omitted 31 | # Unsupported target "fuzz_oneshot" with type "test" omitted 32 | # Unsupported target "fuzz_semaphore" with type "test" omitted 33 | # Unsupported target "mpsc" with type "bench" omitted 34 | # Unsupported target "mpsc" with type "test" omitted 35 | # Unsupported target "oneshot" with type "bench" omitted 36 | # Unsupported target "oneshot" with type "test" omitted 37 | # Unsupported target "semaphore" with type "test" omitted 38 | 39 | rust_library( 40 | name = "tokio_sync", 41 | crate_root = "src/lib.rs", 42 | crate_type = "lib", 43 | edition = "2015", 44 | srcs = glob(["**/*.rs"]), 45 | deps = [ 46 | "@raze__fnv__1_0_6//:fnv", 47 | "@raze__futures__0_1_25//:futures", 48 | ], 49 | rustc_flags = [ 50 | "--cap-lints=allow", 51 | ], 52 | version = "0.1.4", 53 | crate_features = [ 54 | ], 55 | ) 56 | 57 | # Unsupported target "watch" with type "test" omitted 58 | -------------------------------------------------------------------------------- /pc_app/raze/remote/tokio-tcp-0.1.3.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "chain" with type "test" omitted 27 | # Unsupported target "echo" with type "test" omitted 28 | # Unsupported target "limit" with type "test" omitted 29 | # Unsupported target "stream-buffered" with type "test" omitted 30 | # Unsupported target "tcp" with type "test" omitted 31 | 32 | rust_library( 33 | name = "tokio_tcp", 34 | crate_root = "src/lib.rs", 35 | crate_type = "lib", 36 | edition = "2015", 37 | srcs = glob(["**/*.rs"]), 38 | deps = [ 39 | "@raze__bytes__0_4_12//:bytes", 40 | "@raze__futures__0_1_25//:futures", 41 | "@raze__iovec__0_1_2//:iovec", 42 | "@raze__mio__0_6_16//:mio", 43 | "@raze__tokio_io__0_1_12//:tokio_io", 44 | "@raze__tokio_reactor__0_1_9//:tokio_reactor", 45 | ], 46 | rustc_flags = [ 47 | "--cap-lints=allow", 48 | ], 49 | version = "0.1.3", 50 | crate_features = [ 51 | ], 52 | ) 53 | 54 | -------------------------------------------------------------------------------- /pc_app/raze/remote/tokio-threadpool-0.1.12.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "basic" with type "bench" omitted 27 | # Unsupported target "blocking" with type "bench" omitted 28 | # Unsupported target "blocking" with type "test" omitted 29 | # Unsupported target "depth" with type "bench" omitted 30 | # Unsupported target "depth" with type "example" omitted 31 | # Unsupported target "hammer" with type "test" omitted 32 | # Unsupported target "hello" with type "example" omitted 33 | # Unsupported target "threadpool" with type "test" omitted 34 | 35 | rust_library( 36 | name = "tokio_threadpool", 37 | crate_root = "src/lib.rs", 38 | crate_type = "lib", 39 | edition = "2015", 40 | srcs = glob(["**/*.rs"]), 41 | deps = [ 42 | "@raze__crossbeam_deque__0_7_1//:crossbeam_deque", 43 | "@raze__crossbeam_queue__0_1_2//:crossbeam_queue", 44 | "@raze__crossbeam_utils__0_6_5//:crossbeam_utils", 45 | "@raze__futures__0_1_25//:futures", 46 | "@raze__log__0_4_6//:log", 47 | "@raze__num_cpus__1_10_0//:num_cpus", 48 | "@raze__rand__0_6_5//:rand", 49 | "@raze__slab__0_4_2//:slab", 50 | "@raze__tokio_executor__0_1_6//:tokio_executor", 51 | ], 52 | rustc_flags = [ 53 | "--cap-lints=allow", 54 | ], 55 | version = "0.1.12", 56 | crate_features = [ 57 | ], 58 | ) 59 | 60 | -------------------------------------------------------------------------------- /pc_app/raze/remote/tokio-timer-0.2.10.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "clock" with type "test" omitted 27 | # Unsupported target "deadline" with type "test" omitted 28 | # Unsupported target "delay" with type "test" omitted 29 | # Unsupported target "hammer" with type "test" omitted 30 | # Unsupported target "interval" with type "test" omitted 31 | # Unsupported target "queue" with type "test" omitted 32 | # Unsupported target "throttle" with type "test" omitted 33 | # Unsupported target "timeout" with type "test" omitted 34 | 35 | rust_library( 36 | name = "tokio_timer", 37 | crate_root = "src/lib.rs", 38 | crate_type = "lib", 39 | edition = "2015", 40 | srcs = glob(["**/*.rs"]), 41 | deps = [ 42 | "@raze__crossbeam_utils__0_6_5//:crossbeam_utils", 43 | "@raze__futures__0_1_25//:futures", 44 | "@raze__slab__0_4_2//:slab", 45 | "@raze__tokio_executor__0_1_6//:tokio_executor", 46 | ], 47 | rustc_flags = [ 48 | "--cap-lints=allow", 49 | ], 50 | version = "0.2.10", 51 | crate_features = [ 52 | ], 53 | ) 54 | 55 | -------------------------------------------------------------------------------- /pc_app/raze/remote/tokio-trace-core-0.1.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "tokio_trace_core", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__lazy_static__1_3_0//:lazy_static", 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.1.0", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /pc_app/raze/remote/try-lock-0.2.2.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "try_lock", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.2.2", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | -------------------------------------------------------------------------------- /pc_app/raze/remote/void-1.0.2.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "void", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "1.0.2", 39 | crate_features = [ 40 | "default", 41 | "std", 42 | ], 43 | ) 44 | 45 | -------------------------------------------------------------------------------- /pc_app/raze/remote/want-0.0.6.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "want", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | "@raze__futures__0_1_25//:futures", 35 | "@raze__log__0_4_6//:log", 36 | "@raze__try_lock__0_2_2//:try_lock", 37 | ], 38 | rustc_flags = [ 39 | "--cap-lints=allow", 40 | ], 41 | version = "0.0.6", 42 | crate_features = [ 43 | ], 44 | ) 45 | 46 | -------------------------------------------------------------------------------- /pc_app/raze/remote/winapi-0.2.8.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | 27 | rust_library( 28 | name = "winapi", 29 | crate_root = "src/lib.rs", 30 | crate_type = "lib", 31 | edition = "2015", 32 | srcs = glob(["**/*.rs"]), 33 | deps = [ 34 | ], 35 | rustc_flags = [ 36 | "--cap-lints=allow", 37 | ], 38 | version = "0.2.8", 39 | crate_features = [ 40 | ], 41 | ) 42 | 43 | -------------------------------------------------------------------------------- /pc_app/raze/remote/winapi-0.3.6.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "winapi", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.3.6", 40 | crate_features = [ 41 | "errhandlingapi", 42 | "handleapi", 43 | "minwinbase", 44 | "minwindef", 45 | "ntdef", 46 | "ntsecapi", 47 | "ntstatus", 48 | "profileapi", 49 | "std", 50 | "sysinfoapi", 51 | "timezoneapi", 52 | "winbase", 53 | "winerror", 54 | "winnt", 55 | "winsock2", 56 | "ws2def", 57 | "ws2ipdef", 58 | "ws2tcpip", 59 | ], 60 | ) 61 | 62 | -------------------------------------------------------------------------------- /pc_app/raze/remote/winapi-build-0.1.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | alias( 27 | name = "winapi_build", 28 | actual = ":build", 29 | ) 30 | 31 | rust_library( 32 | name = "build", 33 | crate_root = "src/lib.rs", 34 | crate_type = "lib", 35 | edition = "2015", 36 | srcs = glob(["**/*.rs"]), 37 | deps = [ 38 | ], 39 | rustc_flags = [ 40 | "--cap-lints=allow", 41 | ], 42 | version = "0.1.1", 43 | crate_features = [ 44 | ], 45 | ) 46 | 47 | -------------------------------------------------------------------------------- /pc_app/raze/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "winapi_i686_pc_windows_gnu", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.4.0", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /pc_app/raze/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT,Apache-2.0" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | 28 | rust_library( 29 | name = "winapi_x86_64_pc_windows_gnu", 30 | crate_root = "src/lib.rs", 31 | crate_type = "lib", 32 | edition = "2015", 33 | srcs = glob(["**/*.rs"]), 34 | deps = [ 35 | ], 36 | rustc_flags = [ 37 | "--cap-lints=allow", 38 | ], 39 | version = "0.4.0", 40 | crate_features = [ 41 | ], 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /pc_app/raze/remote/ws2_32-sys-0.2.1.BUILD: -------------------------------------------------------------------------------- 1 | """ 2 | cargo-raze crate build file. 3 | 4 | DO NOT EDIT! Replaced on runs of cargo-raze 5 | """ 6 | package(default_visibility = [ 7 | # Public for visibility by "@raze__crate__version//" targets. 8 | # 9 | # Prefer access through "//raze", which limits external 10 | # visibility to explicit Cargo.toml dependencies. 11 | "//visibility:public", 12 | ]) 13 | 14 | licenses([ 15 | "notice", # "MIT" 16 | ]) 17 | 18 | load( 19 | "@io_bazel_rules_rust//rust:rust.bzl", 20 | "rust_library", 21 | "rust_binary", 22 | "rust_test", 23 | ) 24 | 25 | 26 | # Unsupported target "build-script-build" with type "custom-build" omitted 27 | alias( 28 | name = "ws2_32_sys", 29 | actual = ":ws2_32", 30 | ) 31 | 32 | rust_library( 33 | name = "ws2_32", 34 | crate_root = "src/lib.rs", 35 | crate_type = "lib", 36 | edition = "2015", 37 | srcs = glob(["**/*.rs"]), 38 | deps = [ 39 | "@raze__winapi__0_2_8//:winapi", 40 | ], 41 | rustc_flags = [ 42 | "--cap-lints=allow", 43 | ], 44 | version = "0.2.1", 45 | crate_features = [ 46 | ], 47 | ) 48 | 49 | -------------------------------------------------------------------------------- /pc_app/src/driver.rs: -------------------------------------------------------------------------------- 1 | use libc::{syscall, SYS_finit_module}; 2 | use std::fs::File; 3 | use std::io::Error; 4 | use std::os::unix::io::AsRawFd; 5 | 6 | pub fn load(file: File) -> Result<(), Error> { 7 | let fd = file.as_raw_fd(); 8 | let res = unsafe { syscall(SYS_finit_module, fd, &[0u8; 1], 0) }; 9 | if res < 0 { 10 | Err(Error::last_os_error()) 11 | } else { 12 | Ok(()) 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /pc_app/src/main.rs: -------------------------------------------------------------------------------- 1 | mod driver; 2 | mod network; 3 | 4 | use hyper::rt::{self, Future}; 5 | use hyper::service::service_fn_ok; 6 | use hyper::{Body, Request, Response, Server}; 7 | use std::fs::{self, File}; 8 | use std::net::{IpAddr, Ipv4Addr, SocketAddr}; 9 | use sys_mount::{Mount, MountFlags}; 10 | 11 | fn main() { 12 | // Create mount points 13 | for dir in &["/proc", "/sys"] { 14 | fs::create_dir(dir).expect(&format!("Failed to create mountpoint: {}", dir)); 15 | } 16 | // Configure file systems 17 | Mount::new("none", "/dev", "devtmpfs", MountFlags::empty(), None) 18 | .expect("Failed to mount /dev"); 19 | Mount::new("none", "/proc", "proc", MountFlags::empty(), None).expect("Failed to mount /proc"); 20 | Mount::new("none", "/sys", "sysfs", MountFlags::empty(), None).expect("Failed to mount /sys"); 21 | 22 | // Load ethernet driver 23 | let driver_file = File::open("/e1000.ko").expect("Could not open driver"); 24 | driver::load(driver_file).expect("Failed to load ethernet driver"); 25 | 26 | // Setup the network 27 | let ip: IpAddr = Ipv4Addr::new(10, 0, 2, 15).into(); 28 | let netmask = Ipv4Addr::new(255, 255, 255, 0).into(); 29 | network::setup("eth0", ip.clone(), netmask).expect("Failed to setup network"); 30 | println!("Network configured"); 31 | 32 | // Start web server 33 | let addr = SocketAddr::new(ip, 3000); 34 | let server = Server::bind(&addr) 35 | .serve(|| { 36 | // This is the `Service` that will handle the connection. 37 | // `service_fn_ok` is a helper to convert a function that 38 | // returns a Response into a `Service`. 39 | service_fn_ok(move |_: Request| Response::new(Body::from("Hello World!\n"))) 40 | }) 41 | .map_err(|e| eprintln!("server error: {}", e)); 42 | 43 | println!("Listening on http://{}", addr); 44 | 45 | rt::run(server); 46 | } 47 | -------------------------------------------------------------------------------- /raspberry_pi.bzl: -------------------------------------------------------------------------------- 1 | def _rpi_image_impl(ctx): 2 | config = ctx.actions.declare_file("config.txt") 3 | ctx.actions.write(config, "initramfs {} followkernel\n".format(ctx.file.rootfs.basename)) 4 | ctx.actions.run( 5 | inputs = ctx.files.boot_files + [config, ctx.file.rootfs] + ctx.files.overlays, 6 | outputs = [ctx.outputs.out], 7 | arguments = [f.path for f in ctx.files.boot_files] + [config.path, ctx.file.rootfs.path, "--output", ctx.outputs.out.path, "--overlays"] + [f.path for f in ctx.files.overlays], 8 | executable = ctx.executable._mkpiimage, 9 | progress_message = "Building SD card image", 10 | ) 11 | 12 | rpi_image = rule( 13 | attrs = { 14 | "rootfs": attr.label( 15 | mandatory = True, 16 | allow_single_file = True, 17 | ), 18 | "boot_files": attr.label_list( 19 | allow_files = True, 20 | mandatory = True, 21 | ), 22 | "overlays": attr.label_list( 23 | allow_files = True, 24 | allow_empty = True, 25 | ), 26 | "out": attr.output(mandatory = True), 27 | "_mkpiimage": attr.label( 28 | executable = True, 29 | cfg = "host", 30 | allow_files = True, 31 | default = Label("@minimal_linux_bazel//mkpiimage"), 32 | ), 33 | }, 34 | implementation = _rpi_image_impl, 35 | ) 36 | -------------------------------------------------------------------------------- /rootfs.bzl: -------------------------------------------------------------------------------- 1 | def _rust_rootfs_impl(ctx): 2 | toolchain = ctx.toolchains["@io_bazel_rules_rust//rust:toolchain"] 3 | 4 | # Check that we were given a linux musl init binary. 5 | if toolchain.target_triple.find("linux-musl") == -1: 6 | fail("Target '{}' is not supported, you must use a *-linux-musl target for init" 7 | .format(toolchain.target_triple)) 8 | executable = ctx.attr.init[DefaultInfo].files_to_run.executable 9 | files = ctx.files.data + [executable] 10 | paths = [f.path for f in files] 11 | init_path = executable.path 12 | ctx.actions.run( 13 | inputs = files, 14 | outputs = [ctx.outputs.out], 15 | arguments = ["--init", init_path, "--output", ctx.outputs.out.path] + paths, 16 | executable = ctx.executable._mkrootfs, 17 | progress_message = "Building rootfs", 18 | ) 19 | 20 | load("@io_bazel_rules_rust//rust:private/rustc.bzl", "CrateInfo") 21 | 22 | rust_rootfs = rule( 23 | attrs = { 24 | "init": attr.label( 25 | mandatory = True, 26 | providers = [ 27 | DefaultInfo, 28 | # To make sure this is actually a valid rust target 29 | CrateInfo, 30 | ], 31 | executable = True, 32 | cfg = "target", 33 | ), 34 | "out": attr.output(mandatory = True), 35 | "data": attr.label_list( 36 | allow_empty = True, 37 | allow_files = True, 38 | ), 39 | "_mkrootfs": attr.label( 40 | executable = True, 41 | cfg = "host", 42 | allow_files = True, 43 | default = Label("@minimal_linux_bazel//mkrootfs"), 44 | ), 45 | }, 46 | toolchains = ["@io_bazel_rules_rust//rust:toolchain"], 47 | implementation = _rust_rootfs_impl, 48 | ) 49 | -------------------------------------------------------------------------------- /rpi_app/.bazelrc: -------------------------------------------------------------------------------- 1 | build:rpi2 --platforms @minimal_linux_bazel//toolchain:armv7-unknown-linux-musleabihf 2 | build:rpi2 --crosstool_top=@minimal_linux_bazel//toolchain:gcc-armv7l-linux-musleabihf 3 | build:rpi2 --cpu armv7l 4 | build:rpi2 --host_crosstool_top=@bazel_tools//tools/cpp:toolchain 5 | -------------------------------------------------------------------------------- /rpi_app/.gitignore: -------------------------------------------------------------------------------- 1 | /bazel-* 2 | -------------------------------------------------------------------------------- /rpi_app/BUILD: -------------------------------------------------------------------------------- 1 | load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary") 2 | load("@minimal_linux_bazel//:rootfs.bzl", "rust_rootfs") 3 | load("@minimal_linux_bazel//:raspberry_pi.bzl", "rpi_image") 4 | 5 | rust_binary( 6 | name = "application", 7 | srcs = [ 8 | "src/main.rs", 9 | ], 10 | # This is actually a dirty hack to expose the linker executable to rustc. 11 | data = [ 12 | "@minimal_linux_bazel//toolchain:all_files", 13 | ], 14 | edition = "2018", 15 | visibility = ["//visibility:public"], 16 | ) 17 | 18 | rust_rootfs( 19 | name = "rootfs", 20 | out = "initrd.gz", 21 | init = ":application", 22 | ) 23 | 24 | rpi_image( 25 | name = "image", 26 | out = "dist.img", 27 | boot_files = ["@raspberrypi_firmware//:boot_files"], 28 | overlays = ["@raspberrypi_firmware//:overlays"], 29 | rootfs = ":rootfs", 30 | ) 31 | 32 | sh_binary( 33 | name = "qemu_run", 34 | srcs = [ 35 | "qemu_run.sh", 36 | ], 37 | data = [ 38 | ":rootfs", 39 | "@raspberrypi_firmware//:kernel7", 40 | "@raspberrypi_firmware//:rpi2-dtb", 41 | ], 42 | ) 43 | -------------------------------------------------------------------------------- /rpi_app/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "rpi_app" 3 | version = "0.1.0" 4 | authors = ["Daan de Graaf "] 5 | edition = "2018" 6 | 7 | [dependencies] 8 | -------------------------------------------------------------------------------- /rpi_app/config.txt: -------------------------------------------------------------------------------- 1 | initramfs initrd.gz followkernel 2 | -------------------------------------------------------------------------------- /rpi_app/qemu_run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | bazel build --config=rpi2 @raspberrypi_firmware//:rpi2-qemu-files //:rootfs && 4 | qemu-system-arm \ 5 | -M raspi2 \ 6 | -dtb bazel-genfiles/external/raspberrypi_firmware/rpi2.dtb \ 7 | -kernel bazel-genfiles/external/raspberrypi_firmware/kernel7.img \ 8 | -m 256 \ 9 | -serial stdio \ 10 | -append console=tty1 \ 11 | -initrd bazel-bin/initrd.gz \ 12 | -------------------------------------------------------------------------------- /rpi_app/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | loop { 3 | println!("Hello, world!"); 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /toolchain/CROSSTOOL: -------------------------------------------------------------------------------- 1 | major_version: "1" 2 | minor_version: "0" 3 | default_target_cpu: "armv7l" 4 | 5 | toolchain { 6 | toolchain_identifier: "gcc-armv7l-linux-musleabihf-toolchain" 7 | host_system_name: "x86_64-unknown-linux-gnu" 8 | target_system_name: "armv7l-unknown-linux-musleabihf" 9 | target_cpu: "armv7l" 10 | target_libc: "musl" 11 | compiler: "gcc" 12 | abi_version: "eabihf" 13 | abi_libc_version: "musleabihf" 14 | 15 | tool_path { 16 | name: "gcc" 17 | path: "wrappers/armv7l-linux-musleabihf-gcc" 18 | } 19 | tool_path { 20 | name: "ld" 21 | path: "/bin/false" 22 | } 23 | tool_path { 24 | name: "ar" 25 | path: "/bin/false" 26 | } 27 | tool_path { 28 | name: "cpp" 29 | path: "/bin/false" 30 | } 31 | tool_path { 32 | name: "gcov" 33 | path: "/bin/false" 34 | } 35 | tool_path { 36 | name: "nm" 37 | path: "/bin/false" 38 | } 39 | tool_path { 40 | name: "objdump" 41 | path: "/bin/false" 42 | } 43 | tool_path { 44 | name: "strip" 45 | path: "/bin/false" 46 | } 47 | 48 | compiler_flag: "-isystem" 49 | compiler_flag: "external/gcc-armv7l-linux-musleabihf/armv7l-linux-musleabihf/include" 50 | 51 | compiler_flag: "-isystem" 52 | compiler_flag: "external/gcc-armv7l-linux-musleabihf/include" 53 | } 54 | 55 | -------------------------------------------------------------------------------- /toolchain/fetch.bzl: -------------------------------------------------------------------------------- 1 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 2 | load("@io_bazel_rules_rust//rust:repositories.bzl", "rust_toolchain_repository") 3 | 4 | def fetch_toolchains(): 5 | rust_toolchain_repository( 6 | name = "rust-1.33.0", 7 | exec_triple = "x86_64-unknown-linux-gnu", 8 | extra_target_triples = [ 9 | "x86_64-unknown-linux-musl", 10 | "armv7-unknown-linux-musleabihf", 11 | ], 12 | toolchain_name_prefix = "mlb_rust_toolchain", 13 | version = "1.33.0", 14 | ) 15 | 16 | native.register_toolchains( 17 | "@minimal_linux_bazel//toolchain:rust-x86_64-unknown-linux-gnu", 18 | "@minimal_linux_bazel//toolchain:rust-x86_64-unknown-linux-musl", 19 | "@minimal_linux_bazel//toolchain:rust-armv7-unknown-linux-musleabihf", 20 | ) 21 | 22 | # GCC arm musl cross toolchain 23 | http_archive( 24 | name = "gcc-armv7l-linux-musleabihf", 25 | build_file = "@minimal_linux_bazel//toolchain:gcc-armv7l-linux-musleabihf.BUILD", 26 | strip_prefix = "armv7l-linux-musleabihf-cross", 27 | # Note there is no fixed SHA256 because this archive changes frequently.. 28 | # Not very hermetic, but there is no other good source for musl gcc toolchains. 29 | url = "http://musl.cc/armv7l-linux-musleabihf-cross.tgz", 30 | ) 31 | -------------------------------------------------------------------------------- /toolchain/gcc-armv7l-linux-musleabihf.BUILD: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//visibility:public"]) 2 | 3 | filegroup( 4 | name = "all_files", 5 | srcs = glob([ 6 | "bin/**/*", 7 | "lib/**/*", 8 | "include/**/*", 9 | "libexec/**/*", 10 | "share/**/*", 11 | "armv7l-linux-musleabihf/**/*", 12 | ]), 13 | ) 14 | -------------------------------------------------------------------------------- /toolchain/wrappers/armv7l-linux-musleabihf-gcc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec external/gcc-armv7l-linux-musleabihf/bin/armv7l-linux-musleabihf-gcc "$@" 3 | --------------------------------------------------------------------------------