From e62cf8df86f801b9cf7477cedd3ff899057cc1c0 Mon Sep 17 00:00:00 2001 From: Andre Brisco Date: Sat, 12 Sep 2020 22:41:39 -0700 Subject: [PATCH 1/4] Added multi target support --- impl/Cargo.lock | 14 +- impl/Cargo.toml | 19 +- impl/src/bazel.rs | 290 ++++++++++++++- impl/src/bin/cargo-raze.rs | 7 +- impl/src/context.rs | 27 +- impl/src/planning.rs | 332 ++++++++++++------ impl/src/settings.rs | 23 +- impl/src/templates/crate.BUILD.template | 3 + .../templates/partials/build_script.template | 7 +- .../templates/partials/common_attrs.template | 8 +- .../templates/partials/rust_binary.template | 8 +- .../templates/partials/rust_library.template | 8 +- .../partials/targeted_dependencies.template | 14 + .../complicated_cargo_library/Cargo.toml | 2 - .../complicated_cargo_library/Cargo.toml | 1 - tools/Cargo.lock | 16 +- 16 files changed, 613 insertions(+), 166 deletions(-) create mode 100644 impl/src/templates/partials/targeted_dependencies.template diff --git a/impl/Cargo.lock b/impl/Cargo.lock index 5f296199a..5f504833b 100644 --- a/impl/Cargo.lock +++ b/impl/Cargo.lock @@ -100,6 +100,7 @@ dependencies = [ "cargo-lock", "cargo-platform", "cargo_metadata", + "cfg-expr", "docopt", "hamcrest2", "itertools", @@ -127,6 +128,15 @@ dependencies = [ "serde_json", ] +[[package]] +name = "cfg-expr" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c2be76f06820200669a77ae59a8328c6b8fe4496e8fb7fed02f2806a442c5ff" +dependencies = [ + "smallvec", +] + [[package]] name = "cfg-if" version = "0.1.10" @@ -770,9 +780,9 @@ dependencies = [ [[package]] name = "tera" -version = "1.2.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19d25bed9d2cf684de6ffdaa9ac35373739eeed0d6bef1de545bbe6cf571ad07" +checksum = "1381c83828bedd5ce4e59473110afa5381ffe523406d9ade4b77c9f7be70ff9a" dependencies = [ "chrono", "chrono-tz", diff --git a/impl/Cargo.toml b/impl/Cargo.toml index c4cc1b419..0f596d289 100644 --- a/impl/Cargo.toml +++ b/impl/Cargo.toml @@ -23,21 +23,22 @@ path = "src/bin/cargo-raze.rs" [dependencies] anyhow = "1.0.30" -docopt = "1.0.2" -cargo-lock = "4.0.1" -cargo-platform = "0.1.0" cargo_metadata = "0.9.1" +cargo-lock = "4.0.1" +cargo-platform = "0.1.1" +cfg-expr = "0.4.1" +docopt = "1.0.2" itertools = "0.8.0" -slug = "0.1.4" -tera = "1.0.0" semver = "0.9.0" -serde_derive = "1.0.84" serde = "1.0.84" -toml = "0.4.10" +serde_derive = "1.0.84" serde_json = "1.0.34" -tempfile = "3.1.0" +slug = "0.1.4" spdx = "0.3.4" +tempfile = "3.1.0" +tera = "1.5.0" +toml = "0.4.10" [dev-dependencies] -lazy_static = "1.2.0" hamcrest2 = "0.3.0" +lazy_static = "1.2.0" diff --git a/impl/src/bazel.rs b/impl/src/bazel.rs index 339738766..c4f2ae867 100644 --- a/impl/src/bazel.rs +++ b/impl/src/bazel.rs @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -use anyhow::Result; +use anyhow::{anyhow, Result}; use tera::{self, Context, Tera}; @@ -25,6 +25,167 @@ use crate::{ use std::{env, error::Error, path::PathBuf}; +use cfg_expr::{targets::get_builtin_target_by_triple, Expression, Predicate}; + +macro_rules! get_platform_triples { + () => { + [ + // SUPPORTED_T1_PLATFORM_TRIPLES + get_builtin_target_by_triple("i686-apple-darwin").unwrap(), + get_builtin_target_by_triple("i686-pc-windows-gnu").unwrap(), + get_builtin_target_by_triple("i686-unknown-linux-gnu").unwrap(), + get_builtin_target_by_triple("x86_64-apple-darwin").unwrap(), + get_builtin_target_by_triple("x86_64-pc-windows-gnu").unwrap(), + get_builtin_target_by_triple("x86_64-unknown-linux-gnu").unwrap(), + // SUPPORTED_T2_PLATFORM_TRIPLES + get_builtin_target_by_triple("aarch64-apple-ios").unwrap(), + get_builtin_target_by_triple("aarch64-linux-android").unwrap(), + get_builtin_target_by_triple("aarch64-unknown-linux-gnu").unwrap(), + get_builtin_target_by_triple("arm-unknown-linux-gnueabi").unwrap(), + get_builtin_target_by_triple("i686-linux-android").unwrap(), + get_builtin_target_by_triple("i686-unknown-freebsd").unwrap(), + get_builtin_target_by_triple("powerpc-unknown-linux-gnu").unwrap(), + get_builtin_target_by_triple("s390x-unknown-linux-gnu").unwrap(), + get_builtin_target_by_triple("wasm32-unknown-unknown").unwrap(), + get_builtin_target_by_triple("x86_64-apple-ios").unwrap(), + get_builtin_target_by_triple("x86_64-linux-android").unwrap(), + get_builtin_target_by_triple("x86_64-unknown-freebsd").unwrap(), + ] + }; +} + +/** Determines if the target matches those supported by and defined in rules_rust + * + * Examples can be seen below: + * + * | target | returns | reason | + * | ------------------------------------- | ---------------- | ------------------------------------------------ | + * | `cfg(not(fuchsia))` | `(true, true)` | `fuchsia` would be considered a 'default' | + * | | | dependency since no supported target maps to it. | + * | | | | + * | `cfg(unix)` | `(true, false)` | There are supported platforms from the `unix` | + * | | | `target_family` but not all platforms are of | + * | | | the `unix` family. | + * | | | | + * | `cfg(not(windows))` | `(true, false)` | There are supported platforms in addition to | + * | | | those in the `windows` `target_family` | + * | | | | + * | `x86_64-apple-darwin` | `(true, false)` | This is a supported target triple but obviously | + * | | | won't match with other triples. | + * | | | | + * | `unknown-unknown-unknown` | `(false, false)` | This will not match any triple. | + * | | | | + * | `cfg(foo)` | `(false, false)` | `foo` is not a strongly defined cfg value. | + * | `cfg(target_os = "redox")` | `(false, false)` | `redox` is not a supported platform. | + */ +pub fn is_bazel_supported_platform(target: &String) -> (bool, bool) { + // Ensure the target is represented as an expression + let target_exp = match target.starts_with("cfg(") { + true => target.clone(), + false => format!("cfg(target = \"{}\")", target), + }; + + let expression = match Expression::parse(&target_exp) { + Ok(exp) => exp, + // If the target expression cannot be parsed it is not considered a Bazel platform + Err(_) => { + return (false, false); + }, + }; + + let mut is_supported = false; + let mut matches_all = true; + + // Attempt to match the expression + for target_info in get_platform_triples!().iter() { + if expression.eval(|pred| { + match pred { + Predicate::Target(tp) => tp.matches(*target_info), + Predicate::KeyValue { + key, + val, + } => (*key == "target") && (*val == target_info.triple), + // For now there is no other kind of matching + _ => false, + } + }) { + is_supported = true; + } else { + matches_all = false; + } + } + + (is_supported, matches_all) +} + +/** Maps a Rust cfg target to a Bazel supported triples. + * + * Note, the Bazel triples must be defined in: + * https://github.com/bazelbuild/rules_rust/blob/master/rust/platform/platform.bzl + */ +pub fn get_matching_bazel_triples(target: &String) -> Result> { + let target_exp = match target.starts_with("cfg(") { + true => target.clone(), + false => format!("cfg(target=\"{}\")", target), + }; + + let expression = Expression::parse(&target_exp)?; + let triples: Vec = get_platform_triples!() + .iter() + .filter_map(|target_info| { + match expression.eval(|pred| { + match pred { + Predicate::Target(tp) => tp.matches(*target_info), + // For now there is no other kind of matching + _ => false, + } + }) { + true => Some(String::from((*target_info).triple)), + false => None, + } + }) + .collect(); + + Ok(triples) +} + +/** Produces a list of triples based on a provided whitelist */ +pub fn filter_bazel_triples(triples: &mut Vec, triples_whitelist: &Vec) { + // Early-out if the filter list is empty + if triples_whitelist.len() == 0 { + return; + } + + // Prune everything that's not found in the whitelist + triples.retain(|triple| triples_whitelist.iter().any(|i| i == triple)); + + triples.sort(); +} + +/** Returns a list of Bazel targets for use in `select` statements based on a + * given list of triples. + */ +pub fn generate_bazel_conditions(triples: &Vec) -> Result> { + // Sanity check ensuring all strings represent real triples + for triple in triples.iter() { + match get_builtin_target_by_triple(triple) { + None => { + return Err(anyhow!("Not a triple: '{}'", triple)); + }, + _ => {}, + } + } + + let mut bazel_triples: Vec = triples + .iter() + .map(|triple| format!("@io_bazel_rules_rust//rust/platform:{}", triple)) + .collect(); + + bazel_triples.sort(); + + Ok(bazel_triples) +} + /** Returns whether or not the given path is a Bazel workspace root */ pub fn is_workspace_root(dir: &PathBuf) -> bool { let workspace_files = [dir.join("WORKSPACE.bazel"), dir.join("WORKSPACE")]; @@ -104,10 +265,16 @@ impl BazelRenderer { "templates/partials/remote_crates_patch.template", include_str!("templates/partials/remote_crates_patch.template"), ), + ( + "templates/partials/targeted_dependencies.template", + include_str!("templates/partials/targeted_dependencies.template"), + ), ]) .unwrap(); - Self { internal_renderer } + Self { + internal_renderer, + } } pub fn render_crate( @@ -192,7 +359,7 @@ fn include_additional_build_file( "{}\n# Additional content from {}\n{}", existing_contents, file_path, additional_content )) - } + }, None => Ok(existing_contents), } @@ -359,7 +526,6 @@ mod tests { PlannedBuild { workspace_context: WorkspaceContext { workspace_path: "//workspace/prefix".to_owned(), - platform_triple: "irrelevant".to_owned(), gen_workspace_prefix: "".to_owned(), output_buildfile_suffix: "BUILD".to_owned(), }, @@ -376,12 +542,15 @@ mod tests { expected_build_path: format!("vendor/test-binary-1.1.1/{}", buildfile_suffix), license: LicenseData::default(), raze_settings: CrateSettings::default(), - dependencies: Vec::new(), - proc_macro_dependencies: Vec::new(), - build_dependencies: Vec::new(), - build_proc_macro_dependencies: Vec::new(), - dev_dependencies: Vec::new(), - aliased_dependencies: Vec::new(), + default_deps: CrateDependencyContext { + dependencies: Vec::new(), + proc_macro_dependencies: Vec::new(), + build_dependencies: Vec::new(), + build_proc_macro_dependencies: Vec::new(), + dev_dependencies: Vec::new(), + aliased_dependencies: Vec::new(), + }, + targeted_deps: Vec::new(), is_root_dependency: true, workspace_path_to_crate: "@raze__test_binary__1_1_1//".to_owned(), targets: vec![BuildableTarget { @@ -391,7 +560,9 @@ mod tests { edition: "2015".to_owned(), }], build_script_target: None, - source_details: SourceDetails { git_data: None }, + source_details: SourceDetails { + git_data: None, + }, sha256: None, lib_target_name: None, } @@ -410,12 +581,15 @@ mod tests { raze_settings: CrateSettings::default(), features: vec!["feature1".to_owned(), "feature2".to_owned()].to_owned(), expected_build_path: format!("vendor/test-library-1.1.1/{}", buildfile_suffix), - dependencies: Vec::new(), - proc_macro_dependencies: Vec::new(), - build_dependencies: Vec::new(), - build_proc_macro_dependencies: Vec::new(), - dev_dependencies: Vec::new(), - aliased_dependencies: Vec::new(), + default_deps: CrateDependencyContext { + dependencies: Vec::new(), + proc_macro_dependencies: Vec::new(), + build_dependencies: Vec::new(), + build_proc_macro_dependencies: Vec::new(), + dev_dependencies: Vec::new(), + aliased_dependencies: Vec::new(), + }, + targeted_deps: Vec::new(), is_root_dependency: true, workspace_path_to_crate: "@raze__test_library__1_1_1//".to_owned(), targets: vec![BuildableTarget { @@ -425,7 +599,9 @@ mod tests { edition: "2015".to_owned(), }], build_script_target: None, - source_details: SourceDetails { git_data: None }, + source_details: SourceDetails { + git_data: None, + }, sha256: None, lib_target_name: Some("test_library".to_owned()), } @@ -622,7 +798,8 @@ mod tests { expect( crate_build_contents.contains("# Additional content from README.md"), format!( - "expected crate build contents to include additional_build_file, but it just contained [{}]", + "expected crate build contents to include additional_build_file, but it just contained \ + [{}]", crate_build_contents ), ) @@ -659,4 +836,79 @@ mod tests { // Ensure test results were successful assert!(result.is_ok()); } + + #[test] + fn detect_bazel_platforms() { + assert_eq!( + is_bazel_supported_platform(&"cfg(not(fuchsia))".to_string()), + (true, true) + ); + assert_eq!( + is_bazel_supported_platform(&"cfg(not(target_os = \"redox\"))".to_string()), + (true, true) + ); + assert_eq!( + is_bazel_supported_platform(&"cfg(unix)".to_string()), + (true, false) + ); + assert_eq!( + is_bazel_supported_platform(&"cfg(not(windows))".to_string()), + (true, false) + ); + assert_eq!( + is_bazel_supported_platform(&"cfg(target = \"x86_64-apple-darwin\")".to_string()), + (true, false) + ); + assert_eq!( + is_bazel_supported_platform(&"x86_64-apple-darwin".to_string()), + (true, false) + ); + assert_eq!( + is_bazel_supported_platform(&"unknown-unknown-unknown".to_string()), + (false, false) + ); + assert_eq!( + is_bazel_supported_platform(&"cfg(foo)".to_string()), + (false, false) + ); + assert_eq!( + is_bazel_supported_platform(&"cfg(target_os = \"redox\")".to_string()), + (false, false) + ); + } + + #[test] + fn generate_condition_strings() { + assert_eq!( + generate_bazel_conditions(&vec![ + "aarch64-unknown-linux-gnu".to_string(), + "aarch64-apple-ios".to_string(), + ]) + .unwrap(), + vec![ + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu", + ] + ); + + assert_eq!( + generate_bazel_conditions(&vec!["aarch64-unknown-linux-gnu".to_string()]).unwrap(), + vec!["@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu"] + ); + + assert!(generate_bazel_conditions(&vec![ + "aarch64-unknown-linux-gnu".to_string(), + "unknown-unknown-unknown".to_string(), + ]) + .is_err()); + + assert!(generate_bazel_conditions(&vec!["unknown-unknown-unknown".to_string()]).is_err()); + + assert!(generate_bazel_conditions(&vec![ + "foo".to_string(), + "bar".to_string(), + "baz".to_string() + ]) + .is_err()); + } } diff --git a/impl/src/bin/cargo-raze.rs b/impl/src/bin/cargo-raze.rs index 54d1b986a..631448f29 100644 --- a/impl/src/bin/cargo-raze.rs +++ b/impl/src/bin/cargo-raze.rs @@ -87,7 +87,12 @@ fn main() -> Result<()> { toml_path, lock_path_opt, }; - let platform_details = PlatformDetails::new_using_rustc(&settings.target)?; + + let platform_details = match &settings.target { + Some(target) => Some(PlatformDetails::new_using_rustc(target)?), + None => None, + }; + let planned_build = planner.plan_build(&settings, files, platform_details)?; let mut bazel_renderer = BazelRenderer::new(); diff --git a/impl/src/context.rs b/impl/src/context.rs index b9dafc79c..a162a7dfe 100644 --- a/impl/src/context.rs +++ b/impl/src/context.rs @@ -73,21 +73,33 @@ pub struct SourceDetails { pub git_data: Option, } +#[derive(Debug, Clone, Serialize, PartialEq, Eq, PartialOrd, Ord)] +pub struct CrateDependencyContext { + pub dependencies: Vec, + pub proc_macro_dependencies: Vec, + pub build_dependencies: Vec, + pub build_proc_macro_dependencies: Vec, + pub dev_dependencies: Vec, + pub aliased_dependencies: Vec, +} +#[derive(Debug, Clone, Serialize, PartialEq, Eq, PartialOrd, Ord)] +pub struct CrateTargetedDepContext { + pub target: String, + pub deps: CrateDependencyContext, + pub conditions: Vec, +} + #[derive(Debug, Clone, Serialize)] pub struct CrateContext { pub pkg_name: String, pub pkg_version: String, pub edition: String, pub raze_settings: CrateSettings, + pub default_deps: CrateDependencyContext, + pub targeted_deps: Vec, pub license: LicenseData, pub features: Vec, pub workspace_path_to_crate: String, - pub dependencies: Vec, - pub proc_macro_dependencies: Vec, - pub build_dependencies: Vec, - pub build_proc_macro_dependencies: Vec, - pub dev_dependencies: Vec, - pub aliased_dependencies: Vec, pub is_root_dependency: bool, pub targets: Vec, pub build_script_target: Option, @@ -111,9 +123,6 @@ pub struct WorkspaceContext { // The bazel path prefix to the vendor directory pub workspace_path: String, - // The compilation target triple. - pub platform_triple: String, - // The generated new_http_library Bazel workspace prefix. // // This has no effect unless the GenMode setting is Remote. diff --git a/impl/src/planning.rs b/impl/src/planning.rs index aff695243..3ae7a7518 100644 --- a/impl/src/planning.rs +++ b/impl/src/planning.rs @@ -21,17 +21,20 @@ use std::{ use anyhow::Result; -use cargo_lock::lockfile::Lockfile; -use cargo_lock::SourceId; +use cargo_lock::{lockfile::Lockfile, SourceId}; use cargo_platform::Platform; use itertools::Itertools; use crate::{ - bazel::find_workspace_root, + bazel::{ + filter_bazel_triples, find_workspace_root, generate_bazel_conditions, + get_matching_bazel_triples, is_bazel_supported_platform, + }, context::{ - BuildableDependency, BuildableTarget, CrateContext, DependencyAlias, GitRepo, LicenseData, - SourceDetails, WorkspaceContext, + BuildableDependency, BuildableTarget, CrateContext, CrateDependencyContext, + CrateTargetedDepContext, DependencyAlias, GitRepo, LicenseData, SourceDetails, + WorkspaceContext, }, license, metadata::{ @@ -53,7 +56,7 @@ pub trait BuildPlanner { &mut self, settings: &RazeSettings, files: CargoWorkspaceFiles, - platform_details: PlatformDetails, + platform_details: Option, ) -> Result; } @@ -85,6 +88,11 @@ struct DependencySet { aliased_deps: Vec, } +struct TargetedDependencySet { + target: String, + dependencies: DependencySet, +} + /** An entry in the Crate catalog for a single crate. */ pub struct CrateCatalogEntry { // The package metadata for the crate @@ -118,7 +126,7 @@ pub struct BuildPlannerImpl<'fetcher> { struct WorkspaceSubplanner<'planner> { metadata: &'planner Metadata, settings: &'planner RazeSettings, - platform_details: &'planner PlatformDetails, + platform_details: &'planner Option, crate_catalog: &'planner CrateCatalog, files: &'planner CargoWorkspaceFiles, } @@ -127,7 +135,7 @@ struct WorkspaceSubplanner<'planner> { struct CrateSubplanner<'planner> { // Workspace-Wide details settings: &'planner RazeSettings, - platform_details: &'planner PlatformDetails, + platform_details: &'planner Option, crate_catalog: &'planner CrateCatalog, // Crate specific content crate_catalog_entry: &'planner CrateCatalogEntry, @@ -204,7 +212,7 @@ impl CrateCatalogEntry { dir.push(VENDOR_DIR); dir.push(&self.package_ident); - + return dir.display().to_string(); } @@ -237,7 +245,7 @@ impl CrateCatalogEntry { } else { format!("{}/vendor/{}", settings.workspace_path, &self.package_ident) } - } + }, } } @@ -264,7 +272,7 @@ impl CrateCatalogEntry { settings.workspace_path, &self.package_ident, &self.sanitized_name ) } - } + }, } } } @@ -348,11 +356,13 @@ impl<'fetcher> BuildPlanner for BuildPlannerImpl<'fetcher> { &mut self, settings: &RazeSettings, files: CargoWorkspaceFiles, - platform_details: PlatformDetails, + platform_details: Option, ) -> Result { let metadata = self.metadata_fetcher.fetch_metadata(&files)?; let crate_catalog = CrateCatalog::new(&metadata)?; + // Generate additional PlatformDetails + let workspace_subplanner = WorkspaceSubplanner { crate_catalog: &crate_catalog, metadata: &metadata, @@ -367,7 +377,9 @@ impl<'fetcher> BuildPlanner for BuildPlannerImpl<'fetcher> { impl<'fetcher> BuildPlannerImpl<'fetcher> { pub fn new(metadata_fetcher: &'fetcher mut dyn MetadataFetcher) -> Self { - Self { metadata_fetcher } + Self { + metadata_fetcher, + } } } @@ -397,7 +409,6 @@ impl<'planner> WorkspaceSubplanner<'planner> { fn produce_workspace_context(&self) -> WorkspaceContext { WorkspaceContext { workspace_path: self.settings.workspace_path.clone(), - platform_triple: self.settings.target.clone(), gen_workspace_prefix: self.settings.gen_workspace_prefix.clone(), output_buildfile_suffix: self.settings.output_buildfile_suffix.clone(), } @@ -487,14 +498,17 @@ impl<'planner> WorkspaceSubplanner<'planner> { impl<'planner> CrateSubplanner<'planner> { /** Builds a crate context from internal state. */ fn produce_context(&self) -> Result { - let DependencySet { - build_deps, - build_proc_macro_deps, - proc_macro_deps, - dev_deps, - normal_deps, - aliased_deps, - } = self.produce_deps()?; + let ( + DependencySet { + build_deps, + build_proc_macro_deps, + proc_macro_deps, + dev_deps, + normal_deps, + aliased_deps, + }, + targeted_deps, + ) = self.produce_deps()?; let mut targets = self.produce_targets()?; let build_script_target_opt = self.take_build_script_target(&mut targets); @@ -510,19 +524,55 @@ impl<'planner> CrateSubplanner<'planner> { } } - Ok(CrateContext { + // Build a list of dependencies while addression a potential whitelist of target triples + let mut filtered_deps = Vec::new(); + for dep_set in targeted_deps.iter() { + let mut target_triples = get_matching_bazel_triples(&dep_set.target)?; + filter_bazel_triples( + &mut target_triples, + self + .settings + .targets + .as_ref() + .unwrap_or(&Vec::::new()), + ); + + if target_triples.len() == 0 { + continue; + } + + filtered_deps.push(CrateTargetedDepContext { + target: dep_set.target.clone(), + deps: CrateDependencyContext { + dependencies: dep_set.dependencies.normal_deps.clone(), + proc_macro_dependencies: dep_set.dependencies.proc_macro_deps.clone(), + build_dependencies: dep_set.dependencies.build_deps.clone(), + build_proc_macro_dependencies: dep_set.dependencies.build_proc_macro_deps.clone(), + dev_dependencies: dep_set.dependencies.dev_deps.clone(), + aliased_dependencies: dep_set.dependencies.aliased_deps.clone(), + }, + conditions: generate_bazel_conditions(&target_triples)?, + }); + } + + filtered_deps.sort(); + + let context = CrateContext { pkg_name: package.name.clone(), pkg_version: package.version.to_string(), edition: package.edition.clone(), license: self.produce_license(), features: self.node.features.clone(), is_root_dependency: self.crate_catalog_entry.is_root_dep(), - dependencies: normal_deps, - proc_macro_dependencies: proc_macro_deps, - build_dependencies: build_deps, - build_proc_macro_dependencies: build_proc_macro_deps, - dev_dependencies: dev_deps, - aliased_dependencies: aliased_deps, + default_deps: CrateDependencyContext { + dependencies: normal_deps, + proc_macro_dependencies: proc_macro_deps, + build_dependencies: build_deps, + build_proc_macro_dependencies: build_proc_macro_deps, + dev_dependencies: dev_deps, + aliased_dependencies: aliased_deps, + }, + targeted_deps: filtered_deps, workspace_path_to_crate: self.crate_catalog_entry.workspace_path(&self.settings), build_script_target: build_script_target_opt, raze_settings: self.crate_settings.clone(), @@ -531,7 +581,9 @@ impl<'planner> CrateSubplanner<'planner> { sha256: self.sha256.clone(), lib_target_name, targets, - }) + }; + + Ok(context) } /** Generates license data from internal crate details. */ @@ -546,14 +598,11 @@ impl<'planner> CrateSubplanner<'planner> { license::get_license_from_str(licenses_str) } - /** Generates the set of dependencies for the contained crate. */ - fn produce_deps(&self) -> Result { - let DependencyNames { - build_dep_names, - dev_dep_names, - normal_dep_names, - aliased_dep_names, - } = self.identify_named_deps()?; + fn _produce_deps(&self, names: &DependencyNames) -> Result { + let build_dep_names = &names.build_dep_names; + let dev_dep_names = &names.dev_dep_names; + let normal_dep_names = &names.normal_dep_names; + let aliased_dep_names = &names.aliased_dep_names; let mut build_deps = Vec::new(); let mut build_proc_macro_deps = Vec::new(); @@ -659,34 +708,87 @@ impl<'planner> CrateSubplanner<'planner> { }) } + /** Generates the set of dependencies for the contained crate. */ + fn produce_deps(&self) -> Result<(DependencySet, Vec)> { + let (default_deps, targeted_deps) = self.identify_named_deps()?; + + let targeted_set = targeted_deps + .iter() + .map(|(target, deps)| TargetedDependencySet { + target: target.clone(), + dependencies: self._produce_deps(deps).unwrap(), + }) + .collect::>(); + + Ok((self._produce_deps(&default_deps)?, targeted_set)) + } + /** Yields the list of dependencies as described by the manifest (without version). */ - fn identify_named_deps(&self) -> Result { + fn identify_named_deps(&self) -> Result<(DependencyNames, HashMap)> { // Resolve dependencies into types - let mut build_dep_names = Vec::new(); - let mut dev_dep_names = Vec::new(); - let mut normal_dep_names = Vec::new(); + let mut default_dep_names = DependencyNames { + build_dep_names: Vec::new(), + dev_dep_names: Vec::new(), + normal_dep_names: Vec::new(), + aliased_dep_names: HashMap::new(), + }; - // Store aliased dependencies in a HashMap - let mut aliased_dep_names = HashMap::new(); + let mut targeted_dep_names: HashMap = HashMap::new(); - let platform_attrs = self.platform_details.attrs(); let package = self.crate_catalog_entry.package(); for dep in &package.dependencies { + // This shadow allow for dependencies with target restrictions to override where + // to write data about itself. + let mut dep_names = &mut default_dep_names; + if dep.target.is_some() { // UNWRAP: Safe from above check let target_str = format!("{}", dep.target.as_ref().unwrap()); - let platform = Platform::from_str(&target_str)?; - // Skip this dep if it doesn't match our platform attributes - if !platform.matches(&self.settings.target, platform_attrs.as_ref()) { + // Legacy behavior + if let Some(platform_details) = &self.platform_details { + if let Some(settings_target) = &self.settings.target { + let platform = Platform::from_str(&target_str)?; + + // Skip this dep if it doesn't match our platform attributes + if !platform.matches(settings_target, platform_details.attrs().as_ref()) { + continue; + } + } + } + + let (is_bazel_platform, matches_all_platforms) = is_bazel_supported_platform(&target_str); + // If the target is not supported by Bazel, we ignore it + if !is_bazel_platform { continue; } - } + // In cases where the cfg target matches all platforms, we consider it a default dependency + if !matches_all_platforms { + // Ensure an entry is created for the 'conditional' dependency + dep_names = match targeted_dep_names.get_mut(&target_str) { + Some(targeted) => targeted, + None => { + // Create a new entry if one was not found + targeted_dep_names.insert( + target_str.clone(), + DependencyNames { + normal_dep_names: Vec::new(), + build_dep_names: Vec::new(), + dev_dep_names: Vec::new(), + aliased_dep_names: HashMap::new(), + }, + ); + // This unwrap should be safe given the insert above + targeted_dep_names.get_mut(&target_str).unwrap() + }, + }; + } + } match dep.kind { - DependencyKind::Normal => normal_dep_names.push(dep.name.clone()), - DependencyKind::Development => dev_dep_names.push(dep.name.clone()), - DependencyKind::Build => build_dep_names.push(dep.name.clone()), + DependencyKind::Normal => dep_names.normal_dep_names.push(dep.name.clone()), + DependencyKind::Development => dep_names.dev_dep_names.push(dep.name.clone()), + DependencyKind::Build => dep_names.build_dep_names.push(dep.name.clone()), _ => { return Err( RazeError::Planning { @@ -698,21 +800,18 @@ impl<'planner> CrateSubplanner<'planner> { } .into(), ) - } + }, } // Check if the dependency has been renamed if let Some(alias) = dep.rename.as_ref() { - aliased_dep_names.insert(dep.name.clone(), alias.clone()); + dep_names + .aliased_dep_names + .insert(dep.name.clone(), alias.clone()); } } - Ok(DependencyNames { - build_dep_names, - dev_dep_names, - normal_dep_names, - aliased_dep_names, - }) + Ok((default_dep_names, targeted_dep_names)) } /** Generates source details for internal crate. */ @@ -777,21 +876,15 @@ impl<'planner> CrateSubplanner<'planner> { .strip_prefix(package_root_path) .unwrap_or(&target.src_path) .components() - .map(|c| { - c.as_os_str().to_str() - }) - .try_fold("".to_owned(), |res, v| { - Some(format!("{}/{}", res, v?)) - }) - .ok_or( - io::Error::new( - io::ErrorKind::InvalidData, - format!( - "{:?} contains non UTF-8 characters and is not a legal path in Bazel", - &target.src_path - ) - ) - )? + .map(|c| c.as_os_str().to_str()) + .try_fold("".to_owned(), |res, v| Some(format!("{}/{}", res, v?))) + .ok_or(io::Error::new( + io::ErrorKind::InvalidData, + format!( + "{:?} contains non UTF-8 characters and is not a legal path in Bazel", + &target.src_path + ), + ))? .trim_start_matches("/") .to_owned(); @@ -902,13 +995,18 @@ mod checks { .unwrap() .join(format!("./{}", VENDOR_DIR)); - Err(RazeError::Planning { - dependency_name_opt: None, - message: format!( - "Failed to find expected vendored crates in {:?}: {:?}. Did you forget to run cargo vendor?", - expected_full_path.to_str(), - limited_missing_crates) - }.into()) + Err( + RazeError::Planning { + dependency_name_opt: None, + message: format!( + "Failed to find expected vendored crates in {:?}: {:?}. Did you forget to run cargo \ + vendor?", + expected_full_path.to_str(), + limited_missing_crates + ), + } + .into(), + ) } pub fn check_resolve_matches_packages(metadata: &Metadata) -> Result<()> { @@ -1044,7 +1142,7 @@ dependencies = [ let mut lock = File::create(&path).unwrap(); lock.write_all(lock_file.as_bytes()).unwrap(); Some(path) - } + }, None => None, }; let files = CargoWorkspaceFiles { @@ -1106,7 +1204,10 @@ dependencies = [ let res = planner.plan_build( &settings_testing::dummy_raze_settings(), files, - PlatformDetails::new("some_target_triple".to_owned(), Vec::new() /* attrs */), + Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + )), ); assert!(res.is_err()); } @@ -1134,7 +1235,10 @@ dependencies = [ let planned_build_res = planner.plan_build( &settings_testing::dummy_raze_settings(), files, - PlatformDetails::new("some_target_triple".to_owned(), Vec::new() /* attrs */), + Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + )), ); println!("{:#?}", planned_build_res); @@ -1149,7 +1253,10 @@ dependencies = [ let planned_build_res = planner.plan_build( &settings_testing::dummy_raze_settings(), files, - PlatformDetails::new("some_target_triple".to_owned(), Vec::new() /* attrs */), + Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + )), ); println!("{:#?}", planned_build_res); @@ -1210,7 +1317,10 @@ dependencies = [ let planned_build_res = planner.plan_build( &settings_testing::dummy_raze_settings(), files, - PlatformDetails::new("some_target_triple".to_owned(), Vec::new() /* attrs */), + Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + )), ); println!("{:#?}", planned_build_res); @@ -1242,7 +1352,10 @@ dependencies = [ let planned_build_res = planner.plan_build( &settings, files, - PlatformDetails::new("some_target_triple".to_owned(), Vec::new() /* attrs */), + Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + )), ); println!("{:#?}", planned_build_res); @@ -1293,7 +1406,10 @@ dependencies = [ let planned_build_res = planner.plan_build( &settings, files, - PlatformDetails::new("some_target_triple".to_owned(), Vec::new() /* attrs */), + Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + )), ); assert!(planned_build_res.unwrap().crate_contexts.is_empty()); } @@ -1322,14 +1438,17 @@ dependencies = [ let planned_build_res = planner.plan_build( &settings, files, - PlatformDetails::new("some_target_triple".to_owned(), Vec::new() /* attrs */), + Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + )), ); let crates_with_aliased_deps: Vec = planned_build_res .unwrap() .crate_contexts .into_iter() - .filter(|krate| krate.aliased_dependencies.len() != 0) + .filter(|krate| krate.default_deps.aliased_dependencies.len() != 0) .collect(); // Vec length shouldn't be 0 @@ -1347,11 +1466,12 @@ dependencies = [ // Get crate context using computed position let actix_http_context = crates_with_aliased_deps[actix_web_position.unwrap()].clone(); - assert!(actix_http_context.aliased_dependencies.len() == 1); + assert!(actix_http_context.default_deps.aliased_dependencies.len() == 1); assert!( - actix_http_context.aliased_dependencies[0].target == "@raze_test__failure__0_1_8//:failure" + actix_http_context.default_deps.aliased_dependencies[0].target + == "@raze_test__failure__0_1_8//:failure" ); - assert!(actix_http_context.aliased_dependencies[0].alias == "fail_ure"); + assert!(actix_http_context.default_deps.aliased_dependencies[0].alias == "fail_ure"); } #[test] @@ -1377,7 +1497,10 @@ dependencies = [ .plan_build( &settings, files, - PlatformDetails::new("some_target_triple".to_owned(), Vec::new() /* attrs */), + Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + )), ) .unwrap(); @@ -1388,6 +1511,7 @@ dependencies = [ .unwrap(); let serde_derive_proc_macro_deps: Vec<_> = serde + .default_deps .proc_macro_dependencies .iter() .filter(|dep| dep.name == "serde_derive") @@ -1395,6 +1519,7 @@ dependencies = [ assert_eq!(serde_derive_proc_macro_deps.len(), 1); let serde_derive_normal_deps: Vec<_> = serde + .default_deps .dependencies .iter() .filter(|dep| dep.name == "serde_derive") @@ -1425,7 +1550,10 @@ dependencies = [ .plan_build( &settings, files, - PlatformDetails::new("some_target_triple".to_owned(), Vec::new() /* attrs */), + Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + )), ) .unwrap(); @@ -1436,6 +1564,7 @@ dependencies = [ .unwrap(); let markup_proc_macro_deps: Vec<_> = markup + .default_deps .proc_macro_dependencies .iter() .filter(|dep| dep.name == "serde_derive") @@ -1443,6 +1572,7 @@ dependencies = [ assert_eq!(markup_proc_macro_deps.len(), 0); let markup_build_proc_macro_deps: Vec<_> = markup + .default_deps .build_proc_macro_dependencies .iter() .filter(|dep| dep.name == "serde_derive") @@ -1473,11 +1603,17 @@ dependencies = [ .plan_build( &settings, files, - PlatformDetails::new("some_target_triple".to_owned(), Vec::new() /* attrs */), + Some(PlatformDetails::new( + "some_target_triple".to_owned(), + Vec::new(), /* attrs */ + )), ) .unwrap(); - assert_eq!(planned_build.crate_contexts[0].targets[0].path, "src/lib.rs"); + assert_eq!( + planned_build.crate_contexts[0].targets[0].path, + "src/lib.rs" + ); } // TODO(acmcarther): Add tests: // TODO(acmcarther): Extra flags work diff --git a/impl/src/settings.rs b/impl/src/settings.rs index dbd2f15ef..0815bea9d 100644 --- a/impl/src/settings.rs +++ b/impl/src/settings.rs @@ -52,8 +52,16 @@ pub struct RazeSettings { * * This comes in the form of a "triple", such as "x86_64-unknown-linux-gnu" */ - #[serde(default = "default_raze_settings_field_target")] - pub target: String, + #[serde(default)] + pub target: Option, + + /** + * A list of targets to generate BUILD rules for. + * + * Each item comes in the form of a "triple", such as "x86_64-unknown-linux-gnu" + */ + #[serde(default)] + pub targets: Option>, /** Any crate-specific configuration. See CrateSettings for details. */ #[serde(default)] @@ -253,10 +261,6 @@ impl Default for CrateSettings { } } -fn default_raze_settings_field_target() -> String { - "x86_64-unknown-linux-gnu".to_owned() -} - fn default_raze_settings_field_gen_workspace_prefix() -> String { "raze".to_owned() } @@ -343,7 +347,8 @@ pub mod testing { pub fn dummy_raze_settings() -> RazeSettings { RazeSettings { workspace_path: "//cargo".to_owned(), - target: "x86_64-unknown-linux-gnu".to_owned(), + target: Some("x86_64-unknown-linux-gnu".to_owned()), + targets: None, crates: HashMap::new(), gen_workspace_prefix: "raze_test".to_owned(), genmode: GenMode::Remote, @@ -383,8 +388,6 @@ pub mod testing { let mut toml = File::create(&cargo_toml_path).unwrap(); toml.write_all(toml_contents.as_bytes()).unwrap(); - let settings = load_settings(cargo_toml_path).unwrap(); - - assert_eq!(settings.target, default_raze_settings_field_target()); + load_settings(cargo_toml_path).unwrap(); } } diff --git a/impl/src/templates/crate.BUILD.template b/impl/src/templates/crate.BUILD.template index b5cf9feca..2ad41b3c7 100644 --- a/impl/src/templates/crate.BUILD.template +++ b/impl/src/templates/crate.BUILD.template @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/impl/src/templates/partials/build_script.template b/impl/src/templates/partials/build_script.template index 8c37edafc..432f56210 100644 --- a/impl/src/templates/partials/build_script.template +++ b/impl/src/templates/partials/build_script.template @@ -14,15 +14,14 @@ cargo_build_script( crate_root = "build.rs", {%- endif %} edition = "{{ crate.edition }}", - # buildifier: leave-alone deps = [ - {%- for dependency in crate.build_dependencies %} + {%- for dependency in crate.default_deps.build_dependencies %} "{{dependency.buildable_target}}", {%- endfor %} ], - {%- if crate.build_proc_macro_dependencies %} + {%- if crate.default_deps.build_proc_macro_dependencies %} proc_macro_deps = [ - {%- for dependency in crate.build_proc_macro_dependencies %} + {%- for dependency in crate.default_deps.build_proc_macro_dependencies %} "{{dependency.buildable_target}}", {%- endfor %} ], diff --git a/impl/src/templates/partials/common_attrs.template b/impl/src/templates/partials/common_attrs.template index 1509d719f..49a437f45 100644 --- a/impl/src/templates/partials/common_attrs.template +++ b/impl/src/templates/partials/common_attrs.template @@ -1,9 +1,9 @@ srcs = glob(["**/*.rs"]), crate_root = "{{ target.path }}", edition = "{{ target.edition }}", - {%- if crate.proc_macro_dependencies %} + {%- if crate.default_deps.proc_macro_dependencies %} proc_macro_deps = [ - {%- for dependency in crate.proc_macro_dependencies %} + {%- for dependency in crate.default_deps.proc_macro_dependencies %} "{{dependency.buildable_target}}", {%- endfor %} ], @@ -34,9 +34,9 @@ "{{feature}}", {%- endfor %} ], - {%- if crate.aliased_dependencies | length != 0 %} + {%- if crate.default_deps.aliased_dependencies | length != 0 %} aliases = { - {%- for alias in crate.aliased_dependencies %} + {%- for alias in crate.default_deps.aliased_dependencies %} "{{alias.target}}": "{{alias.alias}}", {%- endfor %} }, diff --git a/impl/src/templates/partials/rust_binary.template b/impl/src/templates/partials/rust_binary.template index 760533824..2a0a4009c 100644 --- a/impl/src/templates/partials/rust_binary.template +++ b/impl/src/templates/partials/rust_binary.template @@ -12,12 +12,16 @@ rust_binary( {%- if crate.build_script_target %} ":{{ crate_name_sanitized }}_build_script", {%- endif %} - {%- for dependency in crate.dependencies %} + {%- for dependency in crate.default_deps.dependencies %} "{{dependency.buildable_target}}", {%- endfor %} {%- for dependency in crate.raze_settings.additional_deps %} "{{dependency}}", {%- endfor %} - ], + ] + {%- if crate.targeted_deps %} + {%- include "templates/partials/targeted_dependencies.template" -%}, + {%- else -%}, + {%- endif %} {% include "templates/partials/common_attrs.template" %} ) \ No newline at end of file diff --git a/impl/src/templates/partials/rust_library.template b/impl/src/templates/partials/rust_library.template index e61804ac1..d1822780b 100644 --- a/impl/src/templates/partials/rust_library.template +++ b/impl/src/templates/partials/rust_library.template @@ -18,12 +18,16 @@ rust_library( {%- if crate.build_script_target %} ":{{ crate_name_sanitized }}_build_script", {%- endif %} - {%- for dependency in crate.dependencies %} + {%- for dependency in crate.default_deps.dependencies %} "{{dependency.buildable_target}}", {%- endfor %} {%- for dependency in crate.raze_settings.additional_deps %} "{{dependency}}", {%- endfor %} - ], + ] + {%- if crate.targeted_deps %} + {%- include "templates/partials/targeted_dependencies.template" -%}, + {%- else -%}, + {%- endif %} {% include "templates/partials/common_attrs.template" %} ) \ No newline at end of file diff --git a/impl/src/templates/partials/targeted_dependencies.template b/impl/src/templates/partials/targeted_dependencies.template new file mode 100644 index 000000000..17274d011 --- /dev/null +++ b/impl/src/templates/partials/targeted_dependencies.template @@ -0,0 +1,14 @@ +{% for targeted_dep in crate.targeted_deps %} + selects.with_or({ + # {{ targeted_dep.target }} + ( +{%- for condition in targeted_dep.conditions %} + "{{ condition }}", +{%- endfor %} + ): [ +{%- for dependency in targeted_dep.deps.dependencies %} + "{{ dependency.buildable_target }}", +{%- endfor %} + ], + "//conditions:default": [], + }) +{%- endfor -%} \ No newline at end of file diff --git a/smoke_test/remote/complicated_cargo_library/Cargo.toml b/smoke_test/remote/complicated_cargo_library/Cargo.toml index 7303ee7a3..e6ef2b9cd 100644 --- a/smoke_test/remote/complicated_cargo_library/Cargo.toml +++ b/smoke_test/remote/complicated_cargo_library/Cargo.toml @@ -16,10 +16,8 @@ security-framework-sys = "0.2.2" [raze] workspace_path = "//remote/complicated_cargo_library/cargo" -target = "x86_64-unknown-linux-gnu" gen_workspace_prefix = "remote_complicated_cargo_library" genmode = "Remote" -output_buildfile_suffix = "BUILD.bazel" incompatible_relative_workspace_path = true [raze.crates.proc-macro2.'0.4.28'] diff --git a/smoke_test/vendored/complicated_cargo_library/Cargo.toml b/smoke_test/vendored/complicated_cargo_library/Cargo.toml index 3904cb390..e0fb1545b 100644 --- a/smoke_test/vendored/complicated_cargo_library/Cargo.toml +++ b/smoke_test/vendored/complicated_cargo_library/Cargo.toml @@ -14,7 +14,6 @@ path = "src/main.rs" [raze] workspace_path = "//vendored/complicated_cargo_library/cargo" -target = "x86_64-unknown-linux-gnu" incompatible_relative_workspace_path = true gen_workspace_prefix = "vendored_complicated_cargo_library" diff --git a/tools/Cargo.lock b/tools/Cargo.lock index d6307cc46..780627b14 100644 --- a/tools/Cargo.lock +++ b/tools/Cargo.lock @@ -192,6 +192,7 @@ dependencies = [ "cargo-lock 4.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "cargo-platform 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "cargo_metadata 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-expr 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", "docopt 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -201,7 +202,7 @@ dependencies = [ "slug 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "spdx 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", "tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "tera 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "tera 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "toml 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -221,6 +222,14 @@ name = "cc" version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "cfg-expr" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "smallvec 1.4.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "cfg-if" version = "0.1.6" @@ -1449,7 +1458,7 @@ dependencies = [ [[package]] name = "tera" -version = "1.3.1" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1760,6 +1769,7 @@ dependencies = [ "checksum cargo-platform 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0226944a63d1bf35a3b5f948dd7c59e263db83695c9e8bffc4037de02e30f1d7" "checksum cargo_metadata 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "46e3374c604fb39d1a2f35ed5e4a4e30e60d01fab49446e08f1b3e9a90aef202" "checksum cc 1.0.28 (registry+https://github.com/rust-lang/crates.io-index)" = "bb4a8b715cb4597106ea87c7c84b2f1d452c7492033765df7f32651e66fcf749" +"checksum cfg-expr 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "6c2be76f06820200669a77ae59a8328c6b8fe4496e8fb7fed02f2806a442c5ff" "checksum cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "082bb9b28e00d3c9d39cc03e64ce4cea0f1bb9b3fde493f0cbc008472d22bdf4" "checksum chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "45912881121cb26fad7c38c17ba7daa18764771836b34fab7d3fbd93ed633878" "checksum chrono-tz 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "65d96be7c3e993c9ee4356442db24ba364c924b6b8331866be6b6952bfe74b9d" @@ -1904,7 +1914,7 @@ dependencies = [ "checksum synstructure 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "73687139bf99285483c96ac0add482c3776528beac1d97d444f6e91f203a2015" "checksum tar 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)" = "a303ba60a099fcd2aaa646b14d2724591a96a75283e4b7ed3d1a1658909d9ae2" "checksum tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9" -"checksum tera 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "55df25c7768a0fb9f165931366eb0f21587c407061e1e69c1f5c2b495adfd9bb" +"checksum tera 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1381c83828bedd5ce4e59473110afa5381ffe523406d9ade4b77c9f7be70ff9a" "checksum termcolor 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "4096add70612622289f2fdcdbd5086dc81c1e2675e6ae58d6c4f62a16c6d7f2f" "checksum termion 1.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "689a3bdfaab439fd92bc87df5c4c78417d3cbe537487274e9b0b2dce76e92096" "checksum textwrap 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "307686869c93e71f94da64286f9a9524c0f308a9e1c87a583de8e9c9039ad3f6" From 0a1e9796b74ba72621df598f62ea45791169b952 Mon Sep 17 00:00:00 2001 From: Andre Brisco Date: Thu, 3 Sep 2020 22:58:13 -0700 Subject: [PATCH 2/4] Updated common examples --- examples/remote/complicated_cargo_library/Cargo.toml | 2 -- .../cargo/remote/MacTypes-sys-2.1.0.BUILD.bazel | 3 +++ .../cargo/remote/aho-corasick-0.6.10.BUILD.bazel | 3 +++ .../cargo/remote/arrayvec-0.3.25.BUILD.bazel | 3 +++ .../cargo/remote/arrayvec-0.4.10.BUILD.bazel | 3 +++ .../cargo/remote/atom-0.3.5.BUILD.bazel | 3 +++ .../cargo/remote/cc-1.0.58.BUILD.bazel | 3 +++ .../cargo/remote/cfg-if-0.1.7.BUILD.bazel | 3 +++ .../cargo/remote/core-foundation-sys-0.5.1.BUILD.bazel | 3 +++ .../cargo/remote/crossbeam-0.3.2.BUILD.bazel | 3 +++ .../cargo/remote/crossbeam-deque-0.2.0.BUILD.bazel | 3 +++ .../cargo/remote/crossbeam-epoch-0.3.1.BUILD.bazel | 3 +++ .../cargo/remote/crossbeam-utils-0.2.2.BUILD.bazel | 3 +++ .../cargo/remote/derivative-1.0.2.BUILD.bazel | 3 +++ .../cargo/remote/fnv-1.0.6.BUILD.bazel | 3 +++ .../cargo/remote/hibitset-0.3.2.BUILD.bazel | 3 +++ .../cargo/remote/lazy_static-1.3.0.BUILD.bazel | 3 +++ .../cargo/remote/libc-0.2.53.BUILD.bazel | 3 +++ .../cargo/remote/libloading-0.5.2.BUILD.bazel | 3 +++ .../cargo/remote/memchr-2.2.0.BUILD.bazel | 3 +++ .../cargo/remote/memoffset-0.2.1.BUILD.bazel | 3 +++ .../cargo/remote/mopa-0.2.2.BUILD.bazel | 3 +++ .../cargo/remote/nodrop-0.1.13.BUILD.bazel | 3 +++ .../cargo/remote/num_cpus-1.10.0.BUILD.bazel | 3 +++ .../cargo/remote/odds-0.2.26.BUILD.bazel | 3 +++ .../cargo/remote/proc-macro2-0.4.28.BUILD.bazel | 3 +++ .../cargo/remote/pulse-0.5.3.BUILD.bazel | 3 +++ .../cargo/remote/quote-0.3.15.BUILD.bazel | 3 +++ .../cargo/remote/quote-0.6.12.BUILD.bazel | 3 +++ .../cargo/remote/rayon-0.8.2.BUILD.bazel | 3 +++ .../cargo/remote/rayon-core-1.4.1.BUILD.bazel | 3 +++ .../cargo/remote/redox_syscall-0.1.54.BUILD.bazel | 3 +++ .../cargo/remote/regex-0.2.5.BUILD.bazel | 3 +++ .../cargo/remote/regex-syntax-0.4.2.BUILD.bazel | 3 +++ .../cargo/remote/scopeguard-0.3.3.BUILD.bazel | 3 +++ .../cargo/remote/security-framework-sys-0.2.3.BUILD.bazel | 3 +++ .../cargo/remote/shred-0.5.2.BUILD.bazel | 3 +++ .../cargo/remote/shred-derive-0.3.0.BUILD.bazel | 3 +++ .../cargo/remote/smallvec-0.4.5.BUILD.bazel | 3 +++ .../cargo/remote/specs-0.10.0.BUILD.bazel | 3 +++ .../cargo/remote/syn-0.11.11.BUILD.bazel | 3 +++ .../cargo/remote/syn-0.15.33.BUILD.bazel | 3 +++ .../cargo/remote/synom-0.11.3.BUILD.bazel | 3 +++ .../cargo/remote/thread_local-0.3.6.BUILD.bazel | 3 +++ .../cargo/remote/time-0.1.42.BUILD.bazel | 3 +++ .../cargo/remote/tuple_utils-0.2.0.BUILD.bazel | 3 +++ .../cargo/remote/unicode-xid-0.0.4.BUILD.bazel | 3 +++ .../cargo/remote/unicode-xid-0.1.0.BUILD.bazel | 3 +++ .../cargo/remote/utf8-ranges-1.0.2.BUILD.bazel | 3 +++ .../cargo/remote/winapi-0.3.7.BUILD.bazel | 3 +++ .../cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD.bazel | 3 +++ .../remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD.bazel | 3 +++ .../non_cratesio/cargo/remote/aho-corasick-0.6.10.BUILD.bazel | 3 +++ .../remote/non_cratesio/cargo/remote/atty-0.2.11.BUILD.bazel | 3 +++ .../non_cratesio/cargo/remote/bitflags-1.0.4.BUILD.bazel | 3 +++ .../remote/non_cratesio/cargo/remote/cfg-if-0.1.7.BUILD.bazel | 3 +++ .../non_cratesio/cargo/remote/env_logger-0.5.5.BUILD.bazel | 3 +++ .../non_cratesio/cargo/remote/fuchsia-zircon-0.3.3.BUILD.bazel | 3 +++ .../cargo/remote/fuchsia-zircon-sys-0.3.3.BUILD.bazel | 3 +++ .../non_cratesio/cargo/remote/humantime-1.2.0.BUILD.bazel | 3 +++ .../non_cratesio/cargo/remote/lazy_static-1.3.0.BUILD.bazel | 3 +++ .../remote/non_cratesio/cargo/remote/libc-0.2.53.BUILD.bazel | 3 +++ .../remote/non_cratesio/cargo/remote/log-0.4.0.BUILD.bazel | 3 +++ .../remote/non_cratesio/cargo/remote/log-0.4.6.BUILD.bazel | 3 +++ .../remote/non_cratesio/cargo/remote/memchr-2.2.0.BUILD.bazel | 3 +++ .../remote/non_cratesio/cargo/remote/numtoa-0.1.0.BUILD.bazel | 3 +++ .../non_cratesio/cargo/remote/quick-error-1.2.2.BUILD.bazel | 3 +++ .../remote/non_cratesio/cargo/remote/rand-0.4.1.BUILD.bazel | 3 +++ .../non_cratesio/cargo/remote/redox_syscall-0.1.54.BUILD.bazel | 3 +++ .../non_cratesio/cargo/remote/redox_termios-0.1.1.BUILD.bazel | 3 +++ .../remote/non_cratesio/cargo/remote/regex-0.2.11.BUILD.bazel | 3 +++ .../non_cratesio/cargo/remote/regex-syntax-0.5.6.BUILD.bazel | 3 +++ .../non_cratesio/cargo/remote/termcolor-0.3.6.BUILD.bazel | 3 +++ .../remote/non_cratesio/cargo/remote/termion-1.5.2.BUILD.bazel | 3 +++ .../non_cratesio/cargo/remote/thread_local-0.3.6.BUILD.bazel | 3 +++ .../non_cratesio/cargo/remote/ucd-util-0.1.3.BUILD.bazel | 3 +++ .../non_cratesio/cargo/remote/utf8-ranges-1.0.2.BUILD.bazel | 3 +++ .../remote/non_cratesio/cargo/remote/winapi-0.3.7.BUILD.bazel | 3 +++ .../cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD.bazel | 3 +++ .../remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD.bazel | 3 +++ .../non_cratesio/cargo/remote/wincolor-0.1.6.BUILD.bazel | 3 +++ .../cargo/remote/MacTypes-sys-2.1.0.BUILD.bazel | 3 +++ .../cargo/remote/aho-corasick-0.6.10.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/arrayvec-0.3.25.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/arrayvec-0.4.10.BUILD.bazel | 3 +++ .../remote/regression_test/cargo/remote/atom-0.3.5.BUILD.bazel | 3 +++ .../remote/regression_test/cargo/remote/cc-1.0.58.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/cfg-if-0.1.7.BUILD.bazel | 3 +++ .../cargo/remote/core-foundation-sys-0.5.1.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/crossbeam-0.3.2.BUILD.bazel | 3 +++ .../cargo/remote/crossbeam-deque-0.2.0.BUILD.bazel | 3 +++ .../cargo/remote/crossbeam-epoch-0.3.1.BUILD.bazel | 3 +++ .../cargo/remote/crossbeam-utils-0.2.2.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/derivative-1.0.2.BUILD.bazel | 3 +++ .../remote/regression_test/cargo/remote/fnv-1.0.6.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/hibitset-0.3.2.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/lazy_static-1.3.0.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/libc-0.2.53.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/libloading-0.5.2.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/memchr-2.2.0.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/memoffset-0.2.1.BUILD.bazel | 3 +++ .../remote/regression_test/cargo/remote/mopa-0.2.2.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/nodrop-0.1.13.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/num_cpus-1.10.0.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/odds-0.2.26.BUILD.bazel | 3 +++ .../cargo/remote/proc-macro2-0.4.28.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/pulse-0.5.3.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/quote-0.3.15.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/quote-0.6.12.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/rayon-0.8.2.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/rayon-core-1.4.1.BUILD.bazel | 3 +++ .../cargo/remote/redox_syscall-0.1.54.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/regex-0.2.5.BUILD.bazel | 3 +++ .../cargo/remote/regex-syntax-0.4.2.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/scopeguard-0.3.3.BUILD.bazel | 3 +++ .../cargo/remote/security-framework-sys-0.2.3.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/shred-0.5.2.BUILD.bazel | 3 +++ .../cargo/remote/shred-derive-0.3.0.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/smallvec-0.4.5.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/specs-0.10.0.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/syn-0.11.11.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/syn-0.15.33.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/synom-0.11.3.BUILD.bazel | 3 +++ .../cargo/remote/thread_local-0.3.6.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/time-0.1.42.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/tuple_utils-0.2.0.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/unicode-xid-0.0.4.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/unicode-xid-0.1.0.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/utf8-ranges-1.0.2.BUILD.bazel | 3 +++ .../regression_test/cargo/remote/winapi-0.3.7.BUILD.bazel | 3 +++ .../cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD.bazel | 3 +++ .../remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD.bazel | 3 +++ .../cargo/vendor/MacTypes-sys-2.1.0/BUILD.bazel | 3 +++ .../cargo/vendor/aho-corasick-0.6.10/BUILD.bazel | 3 +++ .../cargo/vendor/arrayvec-0.3.25/BUILD.bazel | 3 +++ .../cargo/vendor/arrayvec-0.4.10/BUILD.bazel | 3 +++ .../cargo/vendor/atom-0.3.5/BUILD.bazel | 3 +++ .../cargo/vendor/cfg-if-0.1.7/BUILD.bazel | 3 +++ .../cargo/vendor/conduit-mime-types-0.7.3/BUILD.bazel | 3 +++ .../cargo/vendor/core-foundation-sys-0.5.1/BUILD.bazel | 3 +++ .../cargo/vendor/crossbeam-0.3.2/BUILD.bazel | 3 +++ .../cargo/vendor/crossbeam-deque-0.2.0/BUILD.bazel | 3 +++ .../cargo/vendor/crossbeam-epoch-0.3.1/BUILD.bazel | 3 +++ .../cargo/vendor/crossbeam-utils-0.2.2/BUILD.bazel | 3 +++ .../cargo/vendor/derivative-1.0.2/BUILD.bazel | 3 +++ .../cargo/vendor/fnv-1.0.6/BUILD.bazel | 3 +++ .../cargo/vendor/hibitset-0.3.2/BUILD.bazel | 3 +++ .../cargo/vendor/lazy_static-1.3.0/BUILD.bazel | 3 +++ .../cargo/vendor/libc-0.2.53/BUILD.bazel | 3 +++ .../cargo/vendor/memchr-2.2.0/BUILD.bazel | 3 +++ .../cargo/vendor/memoffset-0.2.1/BUILD.bazel | 3 +++ .../cargo/vendor/mopa-0.2.2/BUILD.bazel | 3 +++ .../cargo/vendor/nodrop-0.1.13/BUILD.bazel | 3 +++ .../cargo/vendor/num_cpus-1.10.0/BUILD.bazel | 3 +++ .../cargo/vendor/odds-0.2.26/BUILD.bazel | 3 +++ .../cargo/vendor/proc-macro2-0.4.28/BUILD.bazel | 3 +++ .../cargo/vendor/pulse-0.5.3/BUILD.bazel | 3 +++ .../cargo/vendor/quote-0.3.15/BUILD.bazel | 3 +++ .../cargo/vendor/quote-0.6.12/BUILD.bazel | 3 +++ .../cargo/vendor/rayon-0.8.2/BUILD.bazel | 3 +++ .../cargo/vendor/rayon-core-1.4.1/BUILD.bazel | 3 +++ .../cargo/vendor/redox_syscall-0.1.54/BUILD.bazel | 3 +++ .../cargo/vendor/regex-0.2.11/BUILD.bazel | 3 +++ .../cargo/vendor/regex-syntax-0.5.6/BUILD.bazel | 3 +++ .../cargo/vendor/rustc-serialize-0.3.24/BUILD.bazel | 3 +++ .../cargo/vendor/scopeguard-0.3.3/BUILD.bazel | 3 +++ .../cargo/vendor/security-framework-sys-0.2.3/BUILD.bazel | 3 +++ .../cargo/vendor/shred-0.5.2/BUILD.bazel | 3 +++ .../cargo/vendor/shred-derive-0.3.0/BUILD.bazel | 3 +++ .../cargo/vendor/smallvec-0.4.5/BUILD.bazel | 3 +++ .../cargo/vendor/specs-0.10.0/BUILD.bazel | 3 +++ .../cargo/vendor/syn-0.11.11/BUILD.bazel | 3 +++ .../cargo/vendor/syn-0.15.33/BUILD.bazel | 3 +++ .../cargo/vendor/synom-0.11.3/BUILD.bazel | 3 +++ .../cargo/vendor/thread_local-0.3.6/BUILD.bazel | 3 +++ .../cargo/vendor/time-0.1.42/BUILD.bazel | 3 +++ .../cargo/vendor/tuple_utils-0.2.0/BUILD.bazel | 3 +++ .../cargo/vendor/ucd-util-0.1.3/BUILD.bazel | 3 +++ .../cargo/vendor/unicode-xid-0.0.4/BUILD.bazel | 3 +++ .../cargo/vendor/unicode-xid-0.1.0/BUILD.bazel | 3 +++ .../cargo/vendor/utf8-ranges-1.0.2/BUILD.bazel | 3 +++ .../cargo/vendor/winapi-0.3.7/BUILD.bazel | 3 +++ .../cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0/BUILD.bazel | 3 +++ .../vendor/winapi-x86_64-pc-windows-gnu-0.4.0/BUILD.bazel | 3 +++ .../hello_cargo_library/cargo/vendor/cfg-if-0.1.2/BUILD.bazel | 3 +++ .../hello_cargo_library/cargo/vendor/fern-0.3.5/BUILD.bazel | 3 +++ .../hello_cargo_library/cargo/vendor/log-0.3.9/BUILD.bazel | 3 +++ .../hello_cargo_library/cargo/vendor/log-0.4.1/BUILD.bazel | 3 +++ .../cargo/vendor/aho-corasick-0.6.4/BUILD.bazel | 3 +++ .../non_cratesio_library/cargo/vendor/atty-0.2.8/BUILD.bazel | 3 +++ .../non_cratesio_library/cargo/vendor/cfg-if-0.1.2/BUILD.bazel | 3 +++ .../non_cratesio_library/cargo/vendor/either-1.4.0/BUILD.bazel | 3 +++ .../cargo/vendor/env_logger-0.5.5/BUILD.bazel | 3 +++ .../cargo/vendor/futures-0.2.0/BUILD.bazel | 3 +++ .../cargo/vendor/futures-channel-0.2.0/BUILD.bazel | 3 +++ .../cargo/vendor/futures-core-0.2.0/BUILD.bazel | 3 +++ .../cargo/vendor/futures-executor-0.2.0/BUILD.bazel | 3 +++ .../cargo/vendor/futures-io-0.2.0/BUILD.bazel | 3 +++ .../cargo/vendor/futures-sink-0.2.0/BUILD.bazel | 3 +++ .../cargo/vendor/futures-stable-0.2.0/BUILD.bazel | 3 +++ .../cargo/vendor/futures-util-0.2.0/BUILD.bazel | 3 +++ .../cargo/vendor/humantime-1.1.1/BUILD.bazel | 3 +++ .../non_cratesio_library/cargo/vendor/iovec-0.1.2/BUILD.bazel | 3 +++ .../cargo/vendor/lazy_static-1.0.0/BUILD.bazel | 3 +++ .../non_cratesio_library/cargo/vendor/libc-0.2.39/BUILD.bazel | 3 +++ .../non_cratesio_library/cargo/vendor/log-0.4.0/BUILD.bazel | 3 +++ .../non_cratesio_library/cargo/vendor/log-0.4.1/BUILD.bazel | 3 +++ .../non_cratesio_library/cargo/vendor/memchr-2.0.1/BUILD.bazel | 3 +++ .../cargo/vendor/num_cpus-1.8.0/BUILD.bazel | 3 +++ .../cargo/vendor/quick-error-1.2.1/BUILD.bazel | 3 +++ .../cargo/vendor/redox_syscall-0.1.37/BUILD.bazel | 3 +++ .../cargo/vendor/redox_termios-0.1.1/BUILD.bazel | 3 +++ .../non_cratesio_library/cargo/vendor/regex-0.2.9/BUILD.bazel | 3 +++ .../cargo/vendor/regex-syntax-0.5.3/BUILD.bazel | 3 +++ .../cargo/vendor/termcolor-0.3.5/BUILD.bazel | 3 +++ .../cargo/vendor/termion-1.5.1/BUILD.bazel | 3 +++ .../cargo/vendor/thread_local-0.3.5/BUILD.bazel | 3 +++ .../cargo/vendor/ucd-util-0.1.1/BUILD.bazel | 3 +++ .../cargo/vendor/unreachable-1.0.0/BUILD.bazel | 3 +++ .../cargo/vendor/utf8-ranges-1.0.0/BUILD.bazel | 3 +++ .../non_cratesio_library/cargo/vendor/void-1.0.2/BUILD.bazel | 3 +++ .../non_cratesio_library/cargo/vendor/winapi-0.2.8/BUILD.bazel | 3 +++ .../non_cratesio_library/cargo/vendor/winapi-0.3.4/BUILD.bazel | 3 +++ .../cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0/BUILD.bazel | 3 +++ .../vendor/winapi-x86_64-pc-windows-gnu-0.4.0/BUILD.bazel | 3 +++ .../cargo/vendor/wincolor-0.1.6/BUILD.bazel | 3 +++ .../regression_test/cargo/vendor/cfg-if-0.1.10/BUILD.bazel | 3 +++ .../regression_test/cargo/vendor/fern-0.3.5/BUILD.bazel | 3 +++ .../regression_test/cargo/vendor/log-0.3.9/BUILD.bazel | 3 +++ .../regression_test/cargo/vendor/log-0.4.11/BUILD.bazel | 3 +++ 230 files changed, 687 insertions(+), 2 deletions(-) diff --git a/examples/remote/complicated_cargo_library/Cargo.toml b/examples/remote/complicated_cargo_library/Cargo.toml index 7303ee7a3..e6ef2b9cd 100644 --- a/examples/remote/complicated_cargo_library/Cargo.toml +++ b/examples/remote/complicated_cargo_library/Cargo.toml @@ -16,10 +16,8 @@ security-framework-sys = "0.2.2" [raze] workspace_path = "//remote/complicated_cargo_library/cargo" -target = "x86_64-unknown-linux-gnu" gen_workspace_prefix = "remote_complicated_cargo_library" genmode = "Remote" -output_buildfile_suffix = "BUILD.bazel" incompatible_relative_workspace_path = true [raze.crates.proc-macro2.'0.4.28'] diff --git a/examples/remote/complicated_cargo_library/cargo/remote/MacTypes-sys-2.1.0.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/MacTypes-sys-2.1.0.BUILD.bazel index 845d4b5f2..739bf3425 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/MacTypes-sys-2.1.0.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/MacTypes-sys-2.1.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/aho-corasick-0.6.10.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/aho-corasick-0.6.10.BUILD.bazel index 028375c61..3cde5774a 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/aho-corasick-0.6.10.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/aho-corasick-0.6.10.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/arrayvec-0.3.25.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/arrayvec-0.3.25.BUILD.bazel index 8004e0dbe..34343ad28 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/arrayvec-0.3.25.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/arrayvec-0.3.25.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/arrayvec-0.4.10.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/arrayvec-0.4.10.BUILD.bazel index 98fcdc57d..e2a154301 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/arrayvec-0.4.10.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/arrayvec-0.4.10.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/atom-0.3.5.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/atom-0.3.5.BUILD.bazel index 0a29920c9..5bab78edd 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/atom-0.3.5.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/atom-0.3.5.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/cc-1.0.58.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/cc-1.0.58.BUILD.bazel index a54c4af10..c770f9b95 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/cc-1.0.58.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/cc-1.0.58.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/cfg-if-0.1.7.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/cfg-if-0.1.7.BUILD.bazel index 59c3dfd3b..fbddb213f 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/cfg-if-0.1.7.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/cfg-if-0.1.7.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/core-foundation-sys-0.5.1.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/core-foundation-sys-0.5.1.BUILD.bazel index e051d664e..80a5b5232 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/core-foundation-sys-0.5.1.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/core-foundation-sys-0.5.1.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/crossbeam-0.3.2.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/crossbeam-0.3.2.BUILD.bazel index 333210569..e1fd53358 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/crossbeam-0.3.2.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/crossbeam-0.3.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/crossbeam-deque-0.2.0.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/crossbeam-deque-0.2.0.BUILD.bazel index 00b216dbe..ab7c4e058 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/crossbeam-deque-0.2.0.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/crossbeam-deque-0.2.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/crossbeam-epoch-0.3.1.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/crossbeam-epoch-0.3.1.BUILD.bazel index dd70bd9a0..90dca8e78 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/crossbeam-epoch-0.3.1.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/crossbeam-epoch-0.3.1.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/crossbeam-utils-0.2.2.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/crossbeam-utils-0.2.2.BUILD.bazel index 9ea48381b..26d259c68 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/crossbeam-utils-0.2.2.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/crossbeam-utils-0.2.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/derivative-1.0.2.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/derivative-1.0.2.BUILD.bazel index d2945a246..481930945 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/derivative-1.0.2.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/derivative-1.0.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/fnv-1.0.6.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/fnv-1.0.6.BUILD.bazel index dd0cf1582..72d25ab94 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/fnv-1.0.6.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/fnv-1.0.6.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/hibitset-0.3.2.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/hibitset-0.3.2.BUILD.bazel index aa2cea4ac..a3848ab89 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/hibitset-0.3.2.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/hibitset-0.3.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/lazy_static-1.3.0.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/lazy_static-1.3.0.BUILD.bazel index 4ebe02fbc..9a6379e38 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/lazy_static-1.3.0.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/lazy_static-1.3.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/libc-0.2.53.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/libc-0.2.53.BUILD.bazel index dc3390002..3122b9c46 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/libc-0.2.53.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/libc-0.2.53.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/libloading-0.5.2.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/libloading-0.5.2.BUILD.bazel index b3f36188f..217f931df 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/libloading-0.5.2.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/libloading-0.5.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/memchr-2.2.0.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/memchr-2.2.0.BUILD.bazel index 710e25318..ce1979d85 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/memchr-2.2.0.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/memchr-2.2.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/memoffset-0.2.1.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/memoffset-0.2.1.BUILD.bazel index 2e8a995fd..29d5e25d1 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/memoffset-0.2.1.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/memoffset-0.2.1.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/mopa-0.2.2.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/mopa-0.2.2.BUILD.bazel index 4955868d5..795f325ae 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/mopa-0.2.2.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/mopa-0.2.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/nodrop-0.1.13.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/nodrop-0.1.13.BUILD.bazel index 28fb37413..9b5eff2d2 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/nodrop-0.1.13.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/nodrop-0.1.13.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/num_cpus-1.10.0.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/num_cpus-1.10.0.BUILD.bazel index 95ce09ba2..24accb554 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/num_cpus-1.10.0.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/num_cpus-1.10.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/odds-0.2.26.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/odds-0.2.26.BUILD.bazel index e1e8547e0..cfc065940 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/odds-0.2.26.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/odds-0.2.26.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/proc-macro2-0.4.28.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/proc-macro2-0.4.28.BUILD.bazel index 002095aff..c1e14ae76 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/proc-macro2-0.4.28.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/proc-macro2-0.4.28.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/pulse-0.5.3.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/pulse-0.5.3.BUILD.bazel index ada8903f9..4620dd748 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/pulse-0.5.3.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/pulse-0.5.3.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/quote-0.3.15.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/quote-0.3.15.BUILD.bazel index 8092ad5e5..44e519728 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/quote-0.3.15.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/quote-0.3.15.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/quote-0.6.12.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/quote-0.6.12.BUILD.bazel index 7738a6e5e..862b78a45 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/quote-0.6.12.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/quote-0.6.12.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/rayon-0.8.2.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/rayon-0.8.2.BUILD.bazel index 24d375a37..bd73b20c5 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/rayon-0.8.2.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/rayon-0.8.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/rayon-core-1.4.1.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/rayon-core-1.4.1.BUILD.bazel index 84dc126c7..a04f8aca2 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/rayon-core-1.4.1.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/rayon-core-1.4.1.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/redox_syscall-0.1.54.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/redox_syscall-0.1.54.BUILD.bazel index e47522a39..fe7164dee 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/redox_syscall-0.1.54.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/redox_syscall-0.1.54.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/regex-0.2.5.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/regex-0.2.5.BUILD.bazel index 8d7685e62..00d827f1f 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/regex-0.2.5.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/regex-0.2.5.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/regex-syntax-0.4.2.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/regex-syntax-0.4.2.BUILD.bazel index 3dd762afd..958cc4dca 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/regex-syntax-0.4.2.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/regex-syntax-0.4.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/scopeguard-0.3.3.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/scopeguard-0.3.3.BUILD.bazel index de8f327f2..21fe359d8 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/scopeguard-0.3.3.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/scopeguard-0.3.3.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/security-framework-sys-0.2.3.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/security-framework-sys-0.2.3.BUILD.bazel index 32c1ea71c..c7f380043 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/security-framework-sys-0.2.3.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/security-framework-sys-0.2.3.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/shred-0.5.2.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/shred-0.5.2.BUILD.bazel index f741db129..076ccfb60 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/shred-0.5.2.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/shred-0.5.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/shred-derive-0.3.0.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/shred-derive-0.3.0.BUILD.bazel index cfb7457fb..1107bd57c 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/shred-derive-0.3.0.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/shred-derive-0.3.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/smallvec-0.4.5.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/smallvec-0.4.5.BUILD.bazel index fd46dc96f..275524542 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/smallvec-0.4.5.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/smallvec-0.4.5.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/specs-0.10.0.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/specs-0.10.0.BUILD.bazel index d647b05e9..e1df10762 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/specs-0.10.0.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/specs-0.10.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/syn-0.11.11.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/syn-0.11.11.BUILD.bazel index 3fce0abcd..2b7bbb4b3 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/syn-0.11.11.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/syn-0.11.11.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/syn-0.15.33.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/syn-0.15.33.BUILD.bazel index 5512ed7dc..cbfb2218e 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/syn-0.15.33.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/syn-0.15.33.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/synom-0.11.3.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/synom-0.11.3.BUILD.bazel index 9bdca8b52..473731207 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/synom-0.11.3.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/synom-0.11.3.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/thread_local-0.3.6.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/thread_local-0.3.6.BUILD.bazel index 3ad0ec6d2..0126007d0 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/thread_local-0.3.6.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/thread_local-0.3.6.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/time-0.1.42.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/time-0.1.42.BUILD.bazel index 4be21a2cd..e7dceeb20 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/time-0.1.42.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/time-0.1.42.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/tuple_utils-0.2.0.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/tuple_utils-0.2.0.BUILD.bazel index bac8417b0..46db68dea 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/tuple_utils-0.2.0.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/tuple_utils-0.2.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/unicode-xid-0.0.4.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/unicode-xid-0.0.4.BUILD.bazel index f2373c617..c0f5e23ca 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/unicode-xid-0.0.4.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/unicode-xid-0.0.4.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/unicode-xid-0.1.0.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/unicode-xid-0.1.0.BUILD.bazel index c8cac9928..65fe5bca3 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/unicode-xid-0.1.0.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/unicode-xid-0.1.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/utf8-ranges-1.0.2.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/utf8-ranges-1.0.2.BUILD.bazel index d853d9160..99195b8a0 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/utf8-ranges-1.0.2.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/utf8-ranges-1.0.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/winapi-0.3.7.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/winapi-0.3.7.BUILD.bazel index 89805fd6f..6bb32055d 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/winapi-0.3.7.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/winapi-0.3.7.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD.bazel index 11be02ccf..516fd1e8e 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/complicated_cargo_library/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD.bazel index c33ab1388..e2d1c5344 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/aho-corasick-0.6.10.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/aho-corasick-0.6.10.BUILD.bazel index 8d727b020..922f7010f 100644 --- a/examples/remote/non_cratesio/cargo/remote/aho-corasick-0.6.10.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/aho-corasick-0.6.10.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/atty-0.2.11.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/atty-0.2.11.BUILD.bazel index a213c9663..e70fb612d 100644 --- a/examples/remote/non_cratesio/cargo/remote/atty-0.2.11.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/atty-0.2.11.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/bitflags-1.0.4.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/bitflags-1.0.4.BUILD.bazel index 824e6bcf4..fa6910cfd 100644 --- a/examples/remote/non_cratesio/cargo/remote/bitflags-1.0.4.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/bitflags-1.0.4.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/cfg-if-0.1.7.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/cfg-if-0.1.7.BUILD.bazel index 4776fe062..5fa970ff4 100644 --- a/examples/remote/non_cratesio/cargo/remote/cfg-if-0.1.7.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/cfg-if-0.1.7.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/env_logger-0.5.5.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/env_logger-0.5.5.BUILD.bazel index 005e74e87..6ff34913f 100644 --- a/examples/remote/non_cratesio/cargo/remote/env_logger-0.5.5.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/env_logger-0.5.5.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/fuchsia-zircon-0.3.3.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/fuchsia-zircon-0.3.3.BUILD.bazel index 81dbc7ed3..000288179 100644 --- a/examples/remote/non_cratesio/cargo/remote/fuchsia-zircon-0.3.3.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/fuchsia-zircon-0.3.3.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/fuchsia-zircon-sys-0.3.3.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/fuchsia-zircon-sys-0.3.3.BUILD.bazel index 573d3184d..cdb522546 100644 --- a/examples/remote/non_cratesio/cargo/remote/fuchsia-zircon-sys-0.3.3.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/fuchsia-zircon-sys-0.3.3.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/humantime-1.2.0.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/humantime-1.2.0.BUILD.bazel index dc85dc4c3..4415c1f86 100644 --- a/examples/remote/non_cratesio/cargo/remote/humantime-1.2.0.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/humantime-1.2.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/lazy_static-1.3.0.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/lazy_static-1.3.0.BUILD.bazel index 126b16806..4c0d43a42 100644 --- a/examples/remote/non_cratesio/cargo/remote/lazy_static-1.3.0.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/lazy_static-1.3.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/libc-0.2.53.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/libc-0.2.53.BUILD.bazel index 9f6233b71..f5b9ecca2 100644 --- a/examples/remote/non_cratesio/cargo/remote/libc-0.2.53.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/libc-0.2.53.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/log-0.4.0.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/log-0.4.0.BUILD.bazel index d1da507b9..9f0202ed4 100644 --- a/examples/remote/non_cratesio/cargo/remote/log-0.4.0.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/log-0.4.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/log-0.4.6.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/log-0.4.6.BUILD.bazel index 09efab374..c48e6ef8b 100644 --- a/examples/remote/non_cratesio/cargo/remote/log-0.4.6.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/log-0.4.6.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/memchr-2.2.0.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/memchr-2.2.0.BUILD.bazel index cd2a23505..e8fc94bba 100644 --- a/examples/remote/non_cratesio/cargo/remote/memchr-2.2.0.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/memchr-2.2.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/numtoa-0.1.0.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/numtoa-0.1.0.BUILD.bazel index 6baf001a5..337de7fec 100644 --- a/examples/remote/non_cratesio/cargo/remote/numtoa-0.1.0.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/numtoa-0.1.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/quick-error-1.2.2.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/quick-error-1.2.2.BUILD.bazel index ce7fbd4f7..df54ffb3c 100644 --- a/examples/remote/non_cratesio/cargo/remote/quick-error-1.2.2.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/quick-error-1.2.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/rand-0.4.1.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/rand-0.4.1.BUILD.bazel index da5b67ac6..2e0e4ba02 100644 --- a/examples/remote/non_cratesio/cargo/remote/rand-0.4.1.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/rand-0.4.1.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/redox_syscall-0.1.54.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/redox_syscall-0.1.54.BUILD.bazel index fac266e86..c8af6385a 100644 --- a/examples/remote/non_cratesio/cargo/remote/redox_syscall-0.1.54.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/redox_syscall-0.1.54.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/redox_termios-0.1.1.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/redox_termios-0.1.1.BUILD.bazel index 5a40baad9..89b50833e 100644 --- a/examples/remote/non_cratesio/cargo/remote/redox_termios-0.1.1.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/redox_termios-0.1.1.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/regex-0.2.11.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/regex-0.2.11.BUILD.bazel index 842408335..eb1246e73 100644 --- a/examples/remote/non_cratesio/cargo/remote/regex-0.2.11.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/regex-0.2.11.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/regex-syntax-0.5.6.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/regex-syntax-0.5.6.BUILD.bazel index c9b2d102b..d77673158 100644 --- a/examples/remote/non_cratesio/cargo/remote/regex-syntax-0.5.6.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/regex-syntax-0.5.6.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/termcolor-0.3.6.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/termcolor-0.3.6.BUILD.bazel index 9d5cc6394..abfbb0704 100644 --- a/examples/remote/non_cratesio/cargo/remote/termcolor-0.3.6.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/termcolor-0.3.6.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/termion-1.5.2.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/termion-1.5.2.BUILD.bazel index e051c8509..b5aad8dd9 100644 --- a/examples/remote/non_cratesio/cargo/remote/termion-1.5.2.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/termion-1.5.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/thread_local-0.3.6.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/thread_local-0.3.6.BUILD.bazel index b3bb4677a..8f034f98c 100644 --- a/examples/remote/non_cratesio/cargo/remote/thread_local-0.3.6.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/thread_local-0.3.6.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/ucd-util-0.1.3.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/ucd-util-0.1.3.BUILD.bazel index 4644415d1..e0bca2339 100644 --- a/examples/remote/non_cratesio/cargo/remote/ucd-util-0.1.3.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/ucd-util-0.1.3.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/utf8-ranges-1.0.2.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/utf8-ranges-1.0.2.BUILD.bazel index d20ecd8fb..a35abf57f 100644 --- a/examples/remote/non_cratesio/cargo/remote/utf8-ranges-1.0.2.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/utf8-ranges-1.0.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/winapi-0.3.7.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/winapi-0.3.7.BUILD.bazel index cf8244c2a..7a275dd52 100644 --- a/examples/remote/non_cratesio/cargo/remote/winapi-0.3.7.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/winapi-0.3.7.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD.bazel index 4651df6e8..38c992843 100644 --- a/examples/remote/non_cratesio/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD.bazel index 73269f614..aea91b7d1 100644 --- a/examples/remote/non_cratesio/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/non_cratesio/cargo/remote/wincolor-0.1.6.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/wincolor-0.1.6.BUILD.bazel index 9d0c32032..b5bc48d40 100644 --- a/examples/remote/non_cratesio/cargo/remote/wincolor-0.1.6.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/wincolor-0.1.6.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/MacTypes-sys-2.1.0.BUILD.bazel b/examples/remote/regression_test/cargo/remote/MacTypes-sys-2.1.0.BUILD.bazel index c8caee4c1..a077e9a21 100644 --- a/examples/remote/regression_test/cargo/remote/MacTypes-sys-2.1.0.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/MacTypes-sys-2.1.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/aho-corasick-0.6.10.BUILD.bazel b/examples/remote/regression_test/cargo/remote/aho-corasick-0.6.10.BUILD.bazel index 9750434e4..c0ebe68b4 100644 --- a/examples/remote/regression_test/cargo/remote/aho-corasick-0.6.10.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/aho-corasick-0.6.10.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/arrayvec-0.3.25.BUILD.bazel b/examples/remote/regression_test/cargo/remote/arrayvec-0.3.25.BUILD.bazel index 92cbb3acf..2e6ab8631 100644 --- a/examples/remote/regression_test/cargo/remote/arrayvec-0.3.25.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/arrayvec-0.3.25.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/arrayvec-0.4.10.BUILD.bazel b/examples/remote/regression_test/cargo/remote/arrayvec-0.4.10.BUILD.bazel index 7e958fd1a..4b291a17c 100644 --- a/examples/remote/regression_test/cargo/remote/arrayvec-0.4.10.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/arrayvec-0.4.10.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/atom-0.3.5.BUILD.bazel b/examples/remote/regression_test/cargo/remote/atom-0.3.5.BUILD.bazel index 5a196c2d7..96ebb02cf 100644 --- a/examples/remote/regression_test/cargo/remote/atom-0.3.5.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/atom-0.3.5.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/cc-1.0.58.BUILD.bazel b/examples/remote/regression_test/cargo/remote/cc-1.0.58.BUILD.bazel index 86e974964..8e8e2bfaa 100644 --- a/examples/remote/regression_test/cargo/remote/cc-1.0.58.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/cc-1.0.58.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/cfg-if-0.1.7.BUILD.bazel b/examples/remote/regression_test/cargo/remote/cfg-if-0.1.7.BUILD.bazel index 09ec860be..b79381943 100644 --- a/examples/remote/regression_test/cargo/remote/cfg-if-0.1.7.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/cfg-if-0.1.7.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/core-foundation-sys-0.5.1.BUILD.bazel b/examples/remote/regression_test/cargo/remote/core-foundation-sys-0.5.1.BUILD.bazel index 6d441ef81..e434130f1 100644 --- a/examples/remote/regression_test/cargo/remote/core-foundation-sys-0.5.1.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/core-foundation-sys-0.5.1.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/crossbeam-0.3.2.BUILD.bazel b/examples/remote/regression_test/cargo/remote/crossbeam-0.3.2.BUILD.bazel index 600d36aaa..af943405b 100644 --- a/examples/remote/regression_test/cargo/remote/crossbeam-0.3.2.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/crossbeam-0.3.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/crossbeam-deque-0.2.0.BUILD.bazel b/examples/remote/regression_test/cargo/remote/crossbeam-deque-0.2.0.BUILD.bazel index 988d0a7cf..70e33f3d9 100644 --- a/examples/remote/regression_test/cargo/remote/crossbeam-deque-0.2.0.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/crossbeam-deque-0.2.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/crossbeam-epoch-0.3.1.BUILD.bazel b/examples/remote/regression_test/cargo/remote/crossbeam-epoch-0.3.1.BUILD.bazel index ae70af80d..2e3993caa 100644 --- a/examples/remote/regression_test/cargo/remote/crossbeam-epoch-0.3.1.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/crossbeam-epoch-0.3.1.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/crossbeam-utils-0.2.2.BUILD.bazel b/examples/remote/regression_test/cargo/remote/crossbeam-utils-0.2.2.BUILD.bazel index b5dc4121e..b43a0ca26 100644 --- a/examples/remote/regression_test/cargo/remote/crossbeam-utils-0.2.2.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/crossbeam-utils-0.2.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/derivative-1.0.2.BUILD.bazel b/examples/remote/regression_test/cargo/remote/derivative-1.0.2.BUILD.bazel index 254e1f62b..d8529aace 100644 --- a/examples/remote/regression_test/cargo/remote/derivative-1.0.2.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/derivative-1.0.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/fnv-1.0.6.BUILD.bazel b/examples/remote/regression_test/cargo/remote/fnv-1.0.6.BUILD.bazel index 0277d032d..d58122671 100644 --- a/examples/remote/regression_test/cargo/remote/fnv-1.0.6.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/fnv-1.0.6.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/hibitset-0.3.2.BUILD.bazel b/examples/remote/regression_test/cargo/remote/hibitset-0.3.2.BUILD.bazel index 7153f2e26..df390295d 100644 --- a/examples/remote/regression_test/cargo/remote/hibitset-0.3.2.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/hibitset-0.3.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/lazy_static-1.3.0.BUILD.bazel b/examples/remote/regression_test/cargo/remote/lazy_static-1.3.0.BUILD.bazel index d3a3a7fd1..6191fe592 100644 --- a/examples/remote/regression_test/cargo/remote/lazy_static-1.3.0.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/lazy_static-1.3.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/libc-0.2.53.BUILD.bazel b/examples/remote/regression_test/cargo/remote/libc-0.2.53.BUILD.bazel index 4ffb6daae..96b27bfde 100644 --- a/examples/remote/regression_test/cargo/remote/libc-0.2.53.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/libc-0.2.53.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/libloading-0.5.2.BUILD.bazel b/examples/remote/regression_test/cargo/remote/libloading-0.5.2.BUILD.bazel index ede673d03..8814460aa 100644 --- a/examples/remote/regression_test/cargo/remote/libloading-0.5.2.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/libloading-0.5.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/memchr-2.2.0.BUILD.bazel b/examples/remote/regression_test/cargo/remote/memchr-2.2.0.BUILD.bazel index 0a75299af..38a010c79 100644 --- a/examples/remote/regression_test/cargo/remote/memchr-2.2.0.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/memchr-2.2.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/memoffset-0.2.1.BUILD.bazel b/examples/remote/regression_test/cargo/remote/memoffset-0.2.1.BUILD.bazel index 139bdbc26..33935dc04 100644 --- a/examples/remote/regression_test/cargo/remote/memoffset-0.2.1.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/memoffset-0.2.1.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/mopa-0.2.2.BUILD.bazel b/examples/remote/regression_test/cargo/remote/mopa-0.2.2.BUILD.bazel index dff92aedb..ed15d28c2 100644 --- a/examples/remote/regression_test/cargo/remote/mopa-0.2.2.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/mopa-0.2.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/nodrop-0.1.13.BUILD.bazel b/examples/remote/regression_test/cargo/remote/nodrop-0.1.13.BUILD.bazel index c76d59661..4fb241571 100644 --- a/examples/remote/regression_test/cargo/remote/nodrop-0.1.13.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/nodrop-0.1.13.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/num_cpus-1.10.0.BUILD.bazel b/examples/remote/regression_test/cargo/remote/num_cpus-1.10.0.BUILD.bazel index efd721a2c..17b73d96e 100644 --- a/examples/remote/regression_test/cargo/remote/num_cpus-1.10.0.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/num_cpus-1.10.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/odds-0.2.26.BUILD.bazel b/examples/remote/regression_test/cargo/remote/odds-0.2.26.BUILD.bazel index 7edd68714..49d857f1f 100644 --- a/examples/remote/regression_test/cargo/remote/odds-0.2.26.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/odds-0.2.26.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/proc-macro2-0.4.28.BUILD.bazel b/examples/remote/regression_test/cargo/remote/proc-macro2-0.4.28.BUILD.bazel index c3f2a6412..7a3c967e1 100644 --- a/examples/remote/regression_test/cargo/remote/proc-macro2-0.4.28.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/proc-macro2-0.4.28.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/pulse-0.5.3.BUILD.bazel b/examples/remote/regression_test/cargo/remote/pulse-0.5.3.BUILD.bazel index eb3d565cc..6f88c4903 100644 --- a/examples/remote/regression_test/cargo/remote/pulse-0.5.3.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/pulse-0.5.3.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/quote-0.3.15.BUILD.bazel b/examples/remote/regression_test/cargo/remote/quote-0.3.15.BUILD.bazel index d134d300d..3c5b5dc12 100644 --- a/examples/remote/regression_test/cargo/remote/quote-0.3.15.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/quote-0.3.15.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/quote-0.6.12.BUILD.bazel b/examples/remote/regression_test/cargo/remote/quote-0.6.12.BUILD.bazel index df075eb87..4d6af51d0 100644 --- a/examples/remote/regression_test/cargo/remote/quote-0.6.12.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/quote-0.6.12.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/rayon-0.8.2.BUILD.bazel b/examples/remote/regression_test/cargo/remote/rayon-0.8.2.BUILD.bazel index 093f7f547..f2e2c6a15 100644 --- a/examples/remote/regression_test/cargo/remote/rayon-0.8.2.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/rayon-0.8.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/rayon-core-1.4.1.BUILD.bazel b/examples/remote/regression_test/cargo/remote/rayon-core-1.4.1.BUILD.bazel index 8cc5774f0..2fcb1b469 100644 --- a/examples/remote/regression_test/cargo/remote/rayon-core-1.4.1.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/rayon-core-1.4.1.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/redox_syscall-0.1.54.BUILD.bazel b/examples/remote/regression_test/cargo/remote/redox_syscall-0.1.54.BUILD.bazel index e3d252ba1..cee3366d2 100644 --- a/examples/remote/regression_test/cargo/remote/redox_syscall-0.1.54.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/redox_syscall-0.1.54.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/regex-0.2.5.BUILD.bazel b/examples/remote/regression_test/cargo/remote/regex-0.2.5.BUILD.bazel index 2a9a65013..66a7e9fe7 100644 --- a/examples/remote/regression_test/cargo/remote/regex-0.2.5.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/regex-0.2.5.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/regex-syntax-0.4.2.BUILD.bazel b/examples/remote/regression_test/cargo/remote/regex-syntax-0.4.2.BUILD.bazel index a7f55aeb1..dcb5ea52f 100644 --- a/examples/remote/regression_test/cargo/remote/regex-syntax-0.4.2.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/regex-syntax-0.4.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/scopeguard-0.3.3.BUILD.bazel b/examples/remote/regression_test/cargo/remote/scopeguard-0.3.3.BUILD.bazel index 7a46eecfb..e1878e853 100644 --- a/examples/remote/regression_test/cargo/remote/scopeguard-0.3.3.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/scopeguard-0.3.3.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/security-framework-sys-0.2.3.BUILD.bazel b/examples/remote/regression_test/cargo/remote/security-framework-sys-0.2.3.BUILD.bazel index 90e9246ff..9d81a99e5 100644 --- a/examples/remote/regression_test/cargo/remote/security-framework-sys-0.2.3.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/security-framework-sys-0.2.3.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/shred-0.5.2.BUILD.bazel b/examples/remote/regression_test/cargo/remote/shred-0.5.2.BUILD.bazel index 4033a8f01..2cf3a3ab6 100644 --- a/examples/remote/regression_test/cargo/remote/shred-0.5.2.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/shred-0.5.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/shred-derive-0.3.0.BUILD.bazel b/examples/remote/regression_test/cargo/remote/shred-derive-0.3.0.BUILD.bazel index 03cf7bbf3..4ba8bdc86 100644 --- a/examples/remote/regression_test/cargo/remote/shred-derive-0.3.0.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/shred-derive-0.3.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/smallvec-0.4.5.BUILD.bazel b/examples/remote/regression_test/cargo/remote/smallvec-0.4.5.BUILD.bazel index 2922f5afd..84e6d40d2 100644 --- a/examples/remote/regression_test/cargo/remote/smallvec-0.4.5.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/smallvec-0.4.5.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/specs-0.10.0.BUILD.bazel b/examples/remote/regression_test/cargo/remote/specs-0.10.0.BUILD.bazel index 863100c7c..79d51d8a4 100644 --- a/examples/remote/regression_test/cargo/remote/specs-0.10.0.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/specs-0.10.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/syn-0.11.11.BUILD.bazel b/examples/remote/regression_test/cargo/remote/syn-0.11.11.BUILD.bazel index 743eb1b01..88252a196 100644 --- a/examples/remote/regression_test/cargo/remote/syn-0.11.11.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/syn-0.11.11.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/syn-0.15.33.BUILD.bazel b/examples/remote/regression_test/cargo/remote/syn-0.15.33.BUILD.bazel index f4eccb7cc..175e14dd1 100644 --- a/examples/remote/regression_test/cargo/remote/syn-0.15.33.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/syn-0.15.33.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/synom-0.11.3.BUILD.bazel b/examples/remote/regression_test/cargo/remote/synom-0.11.3.BUILD.bazel index 2680c9c8e..eac5a7eb3 100644 --- a/examples/remote/regression_test/cargo/remote/synom-0.11.3.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/synom-0.11.3.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/thread_local-0.3.6.BUILD.bazel b/examples/remote/regression_test/cargo/remote/thread_local-0.3.6.BUILD.bazel index 5ada613f1..04388ef91 100644 --- a/examples/remote/regression_test/cargo/remote/thread_local-0.3.6.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/thread_local-0.3.6.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/time-0.1.42.BUILD.bazel b/examples/remote/regression_test/cargo/remote/time-0.1.42.BUILD.bazel index 90288ac1b..4ba5808a9 100644 --- a/examples/remote/regression_test/cargo/remote/time-0.1.42.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/time-0.1.42.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/tuple_utils-0.2.0.BUILD.bazel b/examples/remote/regression_test/cargo/remote/tuple_utils-0.2.0.BUILD.bazel index 66da122fa..a3415b33d 100644 --- a/examples/remote/regression_test/cargo/remote/tuple_utils-0.2.0.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/tuple_utils-0.2.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/unicode-xid-0.0.4.BUILD.bazel b/examples/remote/regression_test/cargo/remote/unicode-xid-0.0.4.BUILD.bazel index 692df38fd..a26308f19 100644 --- a/examples/remote/regression_test/cargo/remote/unicode-xid-0.0.4.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/unicode-xid-0.0.4.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/unicode-xid-0.1.0.BUILD.bazel b/examples/remote/regression_test/cargo/remote/unicode-xid-0.1.0.BUILD.bazel index c033098f0..dacaa4abc 100644 --- a/examples/remote/regression_test/cargo/remote/unicode-xid-0.1.0.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/unicode-xid-0.1.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/utf8-ranges-1.0.2.BUILD.bazel b/examples/remote/regression_test/cargo/remote/utf8-ranges-1.0.2.BUILD.bazel index 9e0846e28..b170f71e5 100644 --- a/examples/remote/regression_test/cargo/remote/utf8-ranges-1.0.2.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/utf8-ranges-1.0.2.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/winapi-0.3.7.BUILD.bazel b/examples/remote/regression_test/cargo/remote/winapi-0.3.7.BUILD.bazel index 9ee416cac..556631c2b 100644 --- a/examples/remote/regression_test/cargo/remote/winapi-0.3.7.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/winapi-0.3.7.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD.bazel b/examples/remote/regression_test/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD.bazel index d12741c71..ff4b202e8 100644 --- a/examples/remote/regression_test/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/remote/regression_test/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD.bazel b/examples/remote/regression_test/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD.bazel index bceef7a9a..84935cefc 100644 --- a/examples/remote/regression_test/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD.bazel +++ b/examples/remote/regression_test/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/MacTypes-sys-2.1.0/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/MacTypes-sys-2.1.0/BUILD.bazel index c520a7d2a..454f544b9 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/MacTypes-sys-2.1.0/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/MacTypes-sys-2.1.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/aho-corasick-0.6.10/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/aho-corasick-0.6.10/BUILD.bazel index a638005f2..de179c9c5 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/aho-corasick-0.6.10/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/aho-corasick-0.6.10/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/arrayvec-0.3.25/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/arrayvec-0.3.25/BUILD.bazel index c6d7c31c1..0209b0912 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/arrayvec-0.3.25/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/arrayvec-0.3.25/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/arrayvec-0.4.10/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/arrayvec-0.4.10/BUILD.bazel index 75641ca54..41f0de6da 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/arrayvec-0.4.10/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/arrayvec-0.4.10/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/atom-0.3.5/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/atom-0.3.5/BUILD.bazel index 7370ca1ef..5229c691a 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/atom-0.3.5/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/atom-0.3.5/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/cfg-if-0.1.7/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/cfg-if-0.1.7/BUILD.bazel index cc9b79a33..4e1b8c0c9 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/cfg-if-0.1.7/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/cfg-if-0.1.7/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/conduit-mime-types-0.7.3/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/conduit-mime-types-0.7.3/BUILD.bazel index c20ecec8a..14f4560a4 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/conduit-mime-types-0.7.3/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/conduit-mime-types-0.7.3/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/core-foundation-sys-0.5.1/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/core-foundation-sys-0.5.1/BUILD.bazel index 1d789bd0e..f2f147f65 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/core-foundation-sys-0.5.1/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/core-foundation-sys-0.5.1/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-0.3.2/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-0.3.2/BUILD.bazel index b2456c61f..e1f5b445c 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-0.3.2/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-0.3.2/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-deque-0.2.0/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-deque-0.2.0/BUILD.bazel index 7f6d9b03a..afd42d7da 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-deque-0.2.0/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-deque-0.2.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-epoch-0.3.1/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-epoch-0.3.1/BUILD.bazel index bade953e8..48815cdf7 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-epoch-0.3.1/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-epoch-0.3.1/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-utils-0.2.2/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-utils-0.2.2/BUILD.bazel index b357c81c5..27d6cc0eb 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-utils-0.2.2/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/crossbeam-utils-0.2.2/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/derivative-1.0.2/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/derivative-1.0.2/BUILD.bazel index eea50ada7..ea499a7b1 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/derivative-1.0.2/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/derivative-1.0.2/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/fnv-1.0.6/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/fnv-1.0.6/BUILD.bazel index f5a51a2e0..2176d1bcb 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/fnv-1.0.6/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/fnv-1.0.6/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/hibitset-0.3.2/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/hibitset-0.3.2/BUILD.bazel index f569d7a78..569ad710a 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/hibitset-0.3.2/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/hibitset-0.3.2/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/lazy_static-1.3.0/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/lazy_static-1.3.0/BUILD.bazel index 355580f61..a179e978a 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/lazy_static-1.3.0/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/lazy_static-1.3.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/libc-0.2.53/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/libc-0.2.53/BUILD.bazel index 303f99770..4fb1cc58a 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/libc-0.2.53/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/libc-0.2.53/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/memchr-2.2.0/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/memchr-2.2.0/BUILD.bazel index 73c4db941..3072495bf 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/memchr-2.2.0/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/memchr-2.2.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/memoffset-0.2.1/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/memoffset-0.2.1/BUILD.bazel index 8ca843ca8..18f404c3c 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/memoffset-0.2.1/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/memoffset-0.2.1/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/mopa-0.2.2/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/mopa-0.2.2/BUILD.bazel index 7e0017310..92e13789e 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/mopa-0.2.2/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/mopa-0.2.2/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/nodrop-0.1.13/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/nodrop-0.1.13/BUILD.bazel index 3248974ca..fb412e6e6 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/nodrop-0.1.13/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/nodrop-0.1.13/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/num_cpus-1.10.0/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/num_cpus-1.10.0/BUILD.bazel index 0058aef0e..cb0871271 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/num_cpus-1.10.0/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/num_cpus-1.10.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/odds-0.2.26/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/odds-0.2.26/BUILD.bazel index ce7012a32..166e1b2e8 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/odds-0.2.26/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/odds-0.2.26/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/proc-macro2-0.4.28/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/proc-macro2-0.4.28/BUILD.bazel index d1cd4b583..0f3bc4312 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/proc-macro2-0.4.28/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/proc-macro2-0.4.28/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/pulse-0.5.3/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/pulse-0.5.3/BUILD.bazel index 9ff5bd9e0..32302051e 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/pulse-0.5.3/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/pulse-0.5.3/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/quote-0.3.15/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/quote-0.3.15/BUILD.bazel index bbfe02e96..e5137056d 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/quote-0.3.15/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/quote-0.3.15/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/quote-0.6.12/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/quote-0.6.12/BUILD.bazel index f42ed1f52..9f346f987 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/quote-0.6.12/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/quote-0.6.12/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/rayon-0.8.2/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/rayon-0.8.2/BUILD.bazel index 4b79ef111..aeff57161 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/rayon-0.8.2/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/rayon-0.8.2/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/rayon-core-1.4.1/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/rayon-core-1.4.1/BUILD.bazel index cd0356d7c..2f8aa5aa5 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/rayon-core-1.4.1/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/rayon-core-1.4.1/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/redox_syscall-0.1.54/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/redox_syscall-0.1.54/BUILD.bazel index de2aadd36..988008e24 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/redox_syscall-0.1.54/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/redox_syscall-0.1.54/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/regex-0.2.11/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/regex-0.2.11/BUILD.bazel index fd58ed013..0d06ecdea 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/regex-0.2.11/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/regex-0.2.11/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/regex-syntax-0.5.6/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/regex-syntax-0.5.6/BUILD.bazel index f046f6248..abd022b99 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/regex-syntax-0.5.6/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/regex-syntax-0.5.6/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/rustc-serialize-0.3.24/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/rustc-serialize-0.3.24/BUILD.bazel index 82264a781..85d055731 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/rustc-serialize-0.3.24/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/rustc-serialize-0.3.24/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/scopeguard-0.3.3/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/scopeguard-0.3.3/BUILD.bazel index 7a83dce72..0fef91071 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/scopeguard-0.3.3/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/scopeguard-0.3.3/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/security-framework-sys-0.2.3/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/security-framework-sys-0.2.3/BUILD.bazel index 4bee8292e..232a97631 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/security-framework-sys-0.2.3/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/security-framework-sys-0.2.3/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/shred-0.5.2/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/shred-0.5.2/BUILD.bazel index ef6507cd1..9e17bfa83 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/shred-0.5.2/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/shred-0.5.2/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/shred-derive-0.3.0/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/shred-derive-0.3.0/BUILD.bazel index a1d1faedb..6ef70c197 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/shred-derive-0.3.0/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/shred-derive-0.3.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/smallvec-0.4.5/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/smallvec-0.4.5/BUILD.bazel index 471be85d0..192681262 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/smallvec-0.4.5/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/smallvec-0.4.5/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/specs-0.10.0/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/specs-0.10.0/BUILD.bazel index 51d55ba3c..497b6c81c 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/specs-0.10.0/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/specs-0.10.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/syn-0.11.11/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/syn-0.11.11/BUILD.bazel index 4cb889b50..9d66dc7c6 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/syn-0.11.11/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/syn-0.11.11/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/syn-0.15.33/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/syn-0.15.33/BUILD.bazel index 9a374fa00..72ea51217 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/syn-0.15.33/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/syn-0.15.33/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/synom-0.11.3/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/synom-0.11.3/BUILD.bazel index d55e3cc63..868e7e990 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/synom-0.11.3/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/synom-0.11.3/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/thread_local-0.3.6/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/thread_local-0.3.6/BUILD.bazel index e2041fc07..c3b9cd74f 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/thread_local-0.3.6/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/thread_local-0.3.6/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/time-0.1.42/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/time-0.1.42/BUILD.bazel index 29b3381ad..6555993ad 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/time-0.1.42/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/time-0.1.42/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/tuple_utils-0.2.0/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/tuple_utils-0.2.0/BUILD.bazel index 3771714e2..ef381fd6e 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/tuple_utils-0.2.0/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/tuple_utils-0.2.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/ucd-util-0.1.3/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/ucd-util-0.1.3/BUILD.bazel index 296692952..696a5ac05 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/ucd-util-0.1.3/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/ucd-util-0.1.3/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/unicode-xid-0.0.4/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/unicode-xid-0.0.4/BUILD.bazel index 06d1ef788..e57e1c982 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/unicode-xid-0.0.4/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/unicode-xid-0.0.4/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/unicode-xid-0.1.0/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/unicode-xid-0.1.0/BUILD.bazel index 574a47a70..567d43e11 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/unicode-xid-0.1.0/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/unicode-xid-0.1.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/utf8-ranges-1.0.2/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/utf8-ranges-1.0.2/BUILD.bazel index 9d237784c..5e4000906 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/utf8-ranges-1.0.2/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/utf8-ranges-1.0.2/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-0.3.7/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-0.3.7/BUILD.bazel index f3392a5c8..f207cc1f7 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-0.3.7/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-0.3.7/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0/BUILD.bazel index 61c2c5bd0..277693145 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-x86_64-pc-windows-gnu-0.4.0/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-x86_64-pc-windows-gnu-0.4.0/BUILD.bazel index 43e195741..8a89c064a 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-x86_64-pc-windows-gnu-0.4.0/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/winapi-x86_64-pc-windows-gnu-0.4.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/hello_cargo_library/cargo/vendor/cfg-if-0.1.2/BUILD.bazel b/examples/vendored/hello_cargo_library/cargo/vendor/cfg-if-0.1.2/BUILD.bazel index 4fec1bfb6..8c1ebf331 100644 --- a/examples/vendored/hello_cargo_library/cargo/vendor/cfg-if-0.1.2/BUILD.bazel +++ b/examples/vendored/hello_cargo_library/cargo/vendor/cfg-if-0.1.2/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/hello_cargo_library/cargo/vendor/fern-0.3.5/BUILD.bazel b/examples/vendored/hello_cargo_library/cargo/vendor/fern-0.3.5/BUILD.bazel index d8f06bec2..cb915b294 100644 --- a/examples/vendored/hello_cargo_library/cargo/vendor/fern-0.3.5/BUILD.bazel +++ b/examples/vendored/hello_cargo_library/cargo/vendor/fern-0.3.5/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/hello_cargo_library/cargo/vendor/log-0.3.9/BUILD.bazel b/examples/vendored/hello_cargo_library/cargo/vendor/log-0.3.9/BUILD.bazel index edc71d1bb..922d64051 100644 --- a/examples/vendored/hello_cargo_library/cargo/vendor/log-0.3.9/BUILD.bazel +++ b/examples/vendored/hello_cargo_library/cargo/vendor/log-0.3.9/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/hello_cargo_library/cargo/vendor/log-0.4.1/BUILD.bazel b/examples/vendored/hello_cargo_library/cargo/vendor/log-0.4.1/BUILD.bazel index 5bf742a3e..434485488 100644 --- a/examples/vendored/hello_cargo_library/cargo/vendor/log-0.4.1/BUILD.bazel +++ b/examples/vendored/hello_cargo_library/cargo/vendor/log-0.4.1/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/aho-corasick-0.6.4/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/aho-corasick-0.6.4/BUILD.bazel index 669da1888..5716569f9 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/aho-corasick-0.6.4/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/aho-corasick-0.6.4/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/atty-0.2.8/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/atty-0.2.8/BUILD.bazel index e8113793f..5d7e23bd9 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/atty-0.2.8/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/atty-0.2.8/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/cfg-if-0.1.2/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/cfg-if-0.1.2/BUILD.bazel index ba037e424..2de5161b6 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/cfg-if-0.1.2/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/cfg-if-0.1.2/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/either-1.4.0/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/either-1.4.0/BUILD.bazel index df71c082b..7bbd9ef06 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/either-1.4.0/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/either-1.4.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/env_logger-0.5.5/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/env_logger-0.5.5/BUILD.bazel index e3b7186dd..1252e14bb 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/env_logger-0.5.5/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/env_logger-0.5.5/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/futures-0.2.0/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/futures-0.2.0/BUILD.bazel index d5bda3bdf..52606c2e0 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/futures-0.2.0/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/futures-0.2.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/futures-channel-0.2.0/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/futures-channel-0.2.0/BUILD.bazel index bc31771ec..cf712ef1b 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/futures-channel-0.2.0/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/futures-channel-0.2.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/futures-core-0.2.0/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/futures-core-0.2.0/BUILD.bazel index fdd8e0cbe..ad3549020 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/futures-core-0.2.0/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/futures-core-0.2.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/futures-executor-0.2.0/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/futures-executor-0.2.0/BUILD.bazel index a361c898d..75ed9443f 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/futures-executor-0.2.0/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/futures-executor-0.2.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/futures-io-0.2.0/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/futures-io-0.2.0/BUILD.bazel index 56bcd6b6a..03e5f3d7f 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/futures-io-0.2.0/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/futures-io-0.2.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/futures-sink-0.2.0/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/futures-sink-0.2.0/BUILD.bazel index 9aba0b2dd..84869599a 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/futures-sink-0.2.0/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/futures-sink-0.2.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/futures-stable-0.2.0/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/futures-stable-0.2.0/BUILD.bazel index bf939b664..74d648fa6 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/futures-stable-0.2.0/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/futures-stable-0.2.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/futures-util-0.2.0/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/futures-util-0.2.0/BUILD.bazel index efbcab010..6fb21acab 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/futures-util-0.2.0/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/futures-util-0.2.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/humantime-1.1.1/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/humantime-1.1.1/BUILD.bazel index 40931cee4..20f566ff5 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/humantime-1.1.1/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/humantime-1.1.1/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/iovec-0.1.2/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/iovec-0.1.2/BUILD.bazel index 46fce391c..6712bdace 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/iovec-0.1.2/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/iovec-0.1.2/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/lazy_static-1.0.0/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/lazy_static-1.0.0/BUILD.bazel index e5e2cadc7..39646e48a 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/lazy_static-1.0.0/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/lazy_static-1.0.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/libc-0.2.39/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/libc-0.2.39/BUILD.bazel index 18234c68e..7c478bdbb 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/libc-0.2.39/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/libc-0.2.39/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/log-0.4.0/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/log-0.4.0/BUILD.bazel index d3d5641cb..2a3b38b4d 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/log-0.4.0/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/log-0.4.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/log-0.4.1/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/log-0.4.1/BUILD.bazel index d6dd5bfd2..15a52da40 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/log-0.4.1/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/log-0.4.1/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/memchr-2.0.1/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/memchr-2.0.1/BUILD.bazel index 66150ace0..d53367910 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/memchr-2.0.1/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/memchr-2.0.1/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/num_cpus-1.8.0/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/num_cpus-1.8.0/BUILD.bazel index 141bf7f18..c9c47e714 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/num_cpus-1.8.0/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/num_cpus-1.8.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/quick-error-1.2.1/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/quick-error-1.2.1/BUILD.bazel index 339a4f473..a99bb4608 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/quick-error-1.2.1/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/quick-error-1.2.1/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/redox_syscall-0.1.37/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/redox_syscall-0.1.37/BUILD.bazel index 0d8010b5c..317d02ee6 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/redox_syscall-0.1.37/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/redox_syscall-0.1.37/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/redox_termios-0.1.1/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/redox_termios-0.1.1/BUILD.bazel index 19916bfb9..01d5ae48a 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/redox_termios-0.1.1/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/redox_termios-0.1.1/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/regex-0.2.9/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/regex-0.2.9/BUILD.bazel index 2b26e2c83..dd8aac91c 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/regex-0.2.9/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/regex-0.2.9/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/regex-syntax-0.5.3/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/regex-syntax-0.5.3/BUILD.bazel index ce8dbcfb3..6cc59a47a 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/regex-syntax-0.5.3/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/regex-syntax-0.5.3/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/termcolor-0.3.5/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/termcolor-0.3.5/BUILD.bazel index b7234f4b8..834bad92f 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/termcolor-0.3.5/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/termcolor-0.3.5/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/termion-1.5.1/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/termion-1.5.1/BUILD.bazel index 7ab66036d..82224a7a6 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/termion-1.5.1/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/termion-1.5.1/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/thread_local-0.3.5/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/thread_local-0.3.5/BUILD.bazel index 7b4557c0c..ef8f0a18c 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/thread_local-0.3.5/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/thread_local-0.3.5/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/ucd-util-0.1.1/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/ucd-util-0.1.1/BUILD.bazel index 4eb0d4335..17c3f0c01 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/ucd-util-0.1.1/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/ucd-util-0.1.1/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/unreachable-1.0.0/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/unreachable-1.0.0/BUILD.bazel index cd6aaefb5..4f57902ad 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/unreachable-1.0.0/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/unreachable-1.0.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/utf8-ranges-1.0.0/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/utf8-ranges-1.0.0/BUILD.bazel index db16e360c..179323ed5 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/utf8-ranges-1.0.0/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/utf8-ranges-1.0.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/void-1.0.2/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/void-1.0.2/BUILD.bazel index 8105ca2c8..f653cc5a8 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/void-1.0.2/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/void-1.0.2/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/winapi-0.2.8/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/winapi-0.2.8/BUILD.bazel index 079f61567..a850e4da3 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/winapi-0.2.8/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/winapi-0.2.8/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/winapi-0.3.4/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/winapi-0.3.4/BUILD.bazel index f458cf0e2..23794185c 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/winapi-0.3.4/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/winapi-0.3.4/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0/BUILD.bazel index fa40cb966..4c30ac0e5 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/winapi-x86_64-pc-windows-gnu-0.4.0/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/winapi-x86_64-pc-windows-gnu-0.4.0/BUILD.bazel index 52ce87555..8d303b068 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/winapi-x86_64-pc-windows-gnu-0.4.0/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/winapi-x86_64-pc-windows-gnu-0.4.0/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/wincolor-0.1.6/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/wincolor-0.1.6/BUILD.bazel index bacb26879..8ffa26753 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/wincolor-0.1.6/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/wincolor-0.1.6/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/regression_test/cargo/vendor/cfg-if-0.1.10/BUILD.bazel b/examples/vendored/regression_test/cargo/vendor/cfg-if-0.1.10/BUILD.bazel index ba55daecd..83042474c 100644 --- a/examples/vendored/regression_test/cargo/vendor/cfg-if-0.1.10/BUILD.bazel +++ b/examples/vendored/regression_test/cargo/vendor/cfg-if-0.1.10/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/regression_test/cargo/vendor/fern-0.3.5/BUILD.bazel b/examples/vendored/regression_test/cargo/vendor/fern-0.3.5/BUILD.bazel index 8058f2c22..501299e09 100644 --- a/examples/vendored/regression_test/cargo/vendor/fern-0.3.5/BUILD.bazel +++ b/examples/vendored/regression_test/cargo/vendor/fern-0.3.5/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/regression_test/cargo/vendor/log-0.3.9/BUILD.bazel b/examples/vendored/regression_test/cargo/vendor/log-0.3.9/BUILD.bazel index 47b0c5889..24ef4b620 100644 --- a/examples/vendored/regression_test/cargo/vendor/log-0.3.9/BUILD.bazel +++ b/examples/vendored/regression_test/cargo/vendor/log-0.3.9/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # diff --git a/examples/vendored/regression_test/cargo/vendor/log-0.4.11/BUILD.bazel b/examples/vendored/regression_test/cargo/vendor/log-0.4.11/BUILD.bazel index 305e2377b..8187bfc1e 100644 --- a/examples/vendored/regression_test/cargo/vendor/log-0.4.11/BUILD.bazel +++ b/examples/vendored/regression_test/cargo/vendor/log-0.4.11/BUILD.bazel @@ -13,6 +13,9 @@ load( "rust_test", ) +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + package(default_visibility = [ # Public for visibility by "@raze__crate__version//" targets. # From 5b87ac835c03ea31fea0aead3b6f90cb202987e1 Mon Sep 17 00:00:00 2001 From: Andre Brisco Date: Thu, 3 Sep 2020 22:58:34 -0700 Subject: [PATCH 3/4] Updated multi target examples --- .../cargo/remote/libloading-0.5.2.BUILD.bazel | 11 +++++++- .../cargo/remote/time-0.1.42.BUILD.bazel | 11 +++++++- .../cargo/remote/atty-0.2.11.BUILD.bazel | 25 +++++++++++++++++-- .../complicated_cargo_library/Cargo.toml | 1 - .../cargo/vendor/time-0.1.42/BUILD.bazel | 11 +++++++- .../cargo/vendor/atty-0.2.8/BUILD.bazel | 25 +++++++++++++++++-- .../cargo/vendor/iovec-0.1.2/BUILD.bazel | 25 +++++++++++++++++-- 7 files changed, 99 insertions(+), 10 deletions(-) diff --git a/examples/remote/complicated_cargo_library/cargo/remote/libloading-0.5.2.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/libloading-0.5.2.BUILD.bazel index 217f931df..446fb8c5d 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/libloading-0.5.2.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/libloading-0.5.2.BUILD.bazel @@ -38,7 +38,16 @@ rust_library( crate_type = "lib", deps = [ ":global_static", - ], + ] + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-gnu", + ): [ + "@remote_complicated_cargo_library__winapi__0_3_7//:winapi", + ], + "//conditions:default": [], + }), srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", edition = "2015", diff --git a/examples/remote/complicated_cargo_library/cargo/remote/time-0.1.42.BUILD.bazel b/examples/remote/complicated_cargo_library/cargo/remote/time-0.1.42.BUILD.bazel index e7dceeb20..edbc3439d 100644 --- a/examples/remote/complicated_cargo_library/cargo/remote/time-0.1.42.BUILD.bazel +++ b/examples/remote/complicated_cargo_library/cargo/remote/time-0.1.42.BUILD.bazel @@ -37,7 +37,16 @@ rust_library( crate_type = "lib", deps = [ "@remote_complicated_cargo_library__libc__0_2_53//:libc", - ], + ] + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-gnu", + ): [ + "@remote_complicated_cargo_library__winapi__0_3_7//:winapi", + ], + "//conditions:default": [], + }), srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", edition = "2015", diff --git a/examples/remote/non_cratesio/cargo/remote/atty-0.2.11.BUILD.bazel b/examples/remote/non_cratesio/cargo/remote/atty-0.2.11.BUILD.bazel index e70fb612d..dabb691ba 100644 --- a/examples/remote/non_cratesio/cargo/remote/atty-0.2.11.BUILD.bazel +++ b/examples/remote/non_cratesio/cargo/remote/atty-0.2.11.BUILD.bazel @@ -36,8 +36,29 @@ rust_library( name = "atty", crate_type = "lib", deps = [ - "@remote_non_cratesio__libc__0_2_53//:libc", - ], + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:aarch64-linux-android", + "@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-linux-android", + "@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-linux-android", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@remote_non_cratesio__libc__0_2_53//:libc", + ], + "//conditions:default": [], + }), srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", edition = "2015", diff --git a/examples/vendored/complicated_cargo_library/Cargo.toml b/examples/vendored/complicated_cargo_library/Cargo.toml index 3904cb390..e0fb1545b 100644 --- a/examples/vendored/complicated_cargo_library/Cargo.toml +++ b/examples/vendored/complicated_cargo_library/Cargo.toml @@ -14,7 +14,6 @@ path = "src/main.rs" [raze] workspace_path = "//vendored/complicated_cargo_library/cargo" -target = "x86_64-unknown-linux-gnu" incompatible_relative_workspace_path = true gen_workspace_prefix = "vendored_complicated_cargo_library" diff --git a/examples/vendored/complicated_cargo_library/cargo/vendor/time-0.1.42/BUILD.bazel b/examples/vendored/complicated_cargo_library/cargo/vendor/time-0.1.42/BUILD.bazel index 6555993ad..df8ea07e0 100644 --- a/examples/vendored/complicated_cargo_library/cargo/vendor/time-0.1.42/BUILD.bazel +++ b/examples/vendored/complicated_cargo_library/cargo/vendor/time-0.1.42/BUILD.bazel @@ -37,7 +37,16 @@ rust_library( crate_type = "lib", deps = [ "//vendored/complicated_cargo_library/cargo/vendor/libc-0.2.53:libc", - ], + ] + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-gnu", + ): [ + "//vendored/complicated_cargo_library/cargo/vendor/winapi-0.3.7:winapi", + ], + "//conditions:default": [], + }), srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", edition = "2015", diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/atty-0.2.8/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/atty-0.2.8/BUILD.bazel index 5d7e23bd9..c2a1eae52 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/atty-0.2.8/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/atty-0.2.8/BUILD.bazel @@ -36,8 +36,29 @@ rust_library( name = "atty", crate_type = "lib", deps = [ - "//vendored/non_cratesio_library/cargo/vendor/libc-0.2.39:libc", - ], + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:aarch64-linux-android", + "@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-linux-android", + "@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-linux-android", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "//vendored/non_cratesio_library/cargo/vendor/libc-0.2.39:libc", + ], + "//conditions:default": [], + }), srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", edition = "2015", diff --git a/examples/vendored/non_cratesio_library/cargo/vendor/iovec-0.1.2/BUILD.bazel b/examples/vendored/non_cratesio_library/cargo/vendor/iovec-0.1.2/BUILD.bazel index 6712bdace..b4d2263aa 100644 --- a/examples/vendored/non_cratesio_library/cargo/vendor/iovec-0.1.2/BUILD.bazel +++ b/examples/vendored/non_cratesio_library/cargo/vendor/iovec-0.1.2/BUILD.bazel @@ -35,8 +35,29 @@ rust_library( name = "iovec", crate_type = "lib", deps = [ - "//vendored/non_cratesio_library/cargo/vendor/libc-0.2.39:libc", - ], + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:aarch64-linux-android", + "@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-linux-android", + "@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-linux-android", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "//vendored/non_cratesio_library/cargo/vendor/libc-0.2.39:libc", + ], + "//conditions:default": [], + }), srcs = glob(["**/*.rs"]), crate_root = "src/lib.rs", edition = "2015", From 714b14dd434f8ad6c5ebbd28dee255c45aa50b7e Mon Sep 17 00:00:00 2001 From: Andre Brisco Date: Mon, 14 Sep 2020 08:42:46 -0700 Subject: [PATCH 4/4] Updated supported platform triples based on pull request feedback --- impl/src/bazel.rs | 80 ++++++++++++++++++++++++++--------------------- 1 file changed, 45 insertions(+), 35 deletions(-) diff --git a/impl/src/bazel.rs b/impl/src/bazel.rs index c4f2ae867..622f234e3 100644 --- a/impl/src/bazel.rs +++ b/impl/src/bazel.rs @@ -23,36 +23,35 @@ use crate::{ util::RazeError, }; -use std::{env, error::Error, path::PathBuf}; - -use cfg_expr::{targets::get_builtin_target_by_triple, Expression, Predicate}; - -macro_rules! get_platform_triples { - () => { - [ - // SUPPORTED_T1_PLATFORM_TRIPLES - get_builtin_target_by_triple("i686-apple-darwin").unwrap(), - get_builtin_target_by_triple("i686-pc-windows-gnu").unwrap(), - get_builtin_target_by_triple("i686-unknown-linux-gnu").unwrap(), - get_builtin_target_by_triple("x86_64-apple-darwin").unwrap(), - get_builtin_target_by_triple("x86_64-pc-windows-gnu").unwrap(), - get_builtin_target_by_triple("x86_64-unknown-linux-gnu").unwrap(), - // SUPPORTED_T2_PLATFORM_TRIPLES - get_builtin_target_by_triple("aarch64-apple-ios").unwrap(), - get_builtin_target_by_triple("aarch64-linux-android").unwrap(), - get_builtin_target_by_triple("aarch64-unknown-linux-gnu").unwrap(), - get_builtin_target_by_triple("arm-unknown-linux-gnueabi").unwrap(), - get_builtin_target_by_triple("i686-linux-android").unwrap(), - get_builtin_target_by_triple("i686-unknown-freebsd").unwrap(), - get_builtin_target_by_triple("powerpc-unknown-linux-gnu").unwrap(), - get_builtin_target_by_triple("s390x-unknown-linux-gnu").unwrap(), - get_builtin_target_by_triple("wasm32-unknown-unknown").unwrap(), - get_builtin_target_by_triple("x86_64-apple-ios").unwrap(), - get_builtin_target_by_triple("x86_64-linux-android").unwrap(), - get_builtin_target_by_triple("x86_64-unknown-freebsd").unwrap(), - ] - }; -} +use std::{env, error::Error, iter::Iterator, path::PathBuf}; + +use cfg_expr::{ + targets::get_builtin_target_by_triple, + Expression, Predicate, +}; + +static SUPPORTED_PLATFORM_TRIPLES: &'static [&'static str] = &[ + // SUPPORTED_T1_PLATFORM_TRIPLES + "i686-apple-darwin", + "i686-pc-windows-gnu", + "i686-unknown-linux-gnu", + "x86_64-apple-darwin", + "x86_64-pc-windows-gnu", + "x86_64-unknown-linux-gnu", + // SUPPORTED_T2_PLATFORM_TRIPLES + "aarch64-apple-ios", + "aarch64-linux-android", + "aarch64-unknown-linux-gnu", + "arm-unknown-linux-gnueabi", + "i686-linux-android", + "i686-unknown-freebsd", + "powerpc-unknown-linux-gnu", + "s390x-unknown-linux-gnu", + "wasm32-unknown-unknown", + "x86_64-apple-ios", + "x86_64-linux-android", + "x86_64-unknown-freebsd", +]; /** Determines if the target matches those supported by and defined in rules_rust * @@ -97,10 +96,13 @@ pub fn is_bazel_supported_platform(target: &String) -> (bool, bool) { let mut matches_all = true; // Attempt to match the expression - for target_info in get_platform_triples!().iter() { + for target_info in SUPPORTED_PLATFORM_TRIPLES + .iter() + .map(|x| get_builtin_target_by_triple(x).unwrap()) + { if expression.eval(|pred| { match pred { - Predicate::Target(tp) => tp.matches(*target_info), + Predicate::Target(tp) => tp.matches(target_info), Predicate::KeyValue { key, val, @@ -130,12 +132,13 @@ pub fn get_matching_bazel_triples(target: &String) -> Result> { }; let expression = Expression::parse(&target_exp)?; - let triples: Vec = get_platform_triples!() + let triples: Vec = SUPPORTED_PLATFORM_TRIPLES .iter() - .filter_map(|target_info| { + .filter_map(|triple| { + let target_info = get_builtin_target_by_triple(triple).unwrap(); match expression.eval(|pred| { match pred { - Predicate::Target(tp) => tp.matches(*target_info), + Predicate::Target(tp) => tp.matches(target_info), // For now there is no other kind of matching _ => false, } @@ -877,6 +880,13 @@ mod tests { ); } + #[test] + fn all_supported_platform_triples_unwrap() { + for triple in SUPPORTED_PLATFORM_TRIPLES.iter() { + get_builtin_target_by_triple(triple).unwrap(); + } + } + #[test] fn generate_condition_strings() { assert_eq!(