diff --git a/shim/.buckconfig b/shim/.buckconfig index 971b7752..de18401c 100644 --- a/shim/.buckconfig +++ b/shim/.buckconfig @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [cells] shim = . prelude = prelude diff --git a/shim/.buckroot b/shim/.buckroot index e69de29b..a869e838 100644 --- a/shim/.buckroot +++ b/shim/.buckroot @@ -0,0 +1,6 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. diff --git a/shim/.gitignore b/shim/.gitignore index a1412f7f..ca95b0e4 100644 --- a/shim/.gitignore +++ b/shim/.gitignore @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + # We currently expect end users to run reindeer vendor themselves # so mark these things as to ignore /third-party/rust/.cargo/ diff --git a/shim/BUCK b/shim/BUCK index e25618a0..30019fa0 100644 --- a/shim/BUCK +++ b/shim/BUCK @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + load("@prelude//toolchains:cxx.bzl", "system_cxx_toolchain") load("@prelude//toolchains:genrule.bzl", "system_genrule_toolchain") load("@prelude//toolchains:go.bzl", "system_go_toolchain") diff --git a/shim/README.md b/shim/README.md index 564697b4..72345d6b 100644 --- a/shim/README.md +++ b/shim/README.md @@ -9,3 +9,10 @@ should be nearly identical to the internal buck2 experience. Prefer to use [rules from the buck2 prelude](https://buck2.build/docs/prelude/globals/) and the [buck2 build apis](https://buck2.build/docs/api/build/globals/) + +## License + +This source code is licensed under both the MIT license found in the +LICENSE-MIT file in the root directory of this source tree and the Apache +License, Version 2.0 found in the LICENSE-APACHE file in the root directory +of this source tree. diff --git a/shim/third-party/macros/rust_third_party.bzl b/shim/third-party/macros/rust_third_party.bzl index f6a0bd3d..d00ddce8 100644 --- a/shim/third-party/macros/rust_third_party.bzl +++ b/shim/third-party/macros/rust_third_party.bzl @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + # @nolint def third_party_rust_prebuilt_cxx_library(name, **kwargs): diff --git a/shim/third-party/ocaml/BUCK b/shim/third-party/ocaml/BUCK index 2343d7b5..1b62b09b 100644 --- a/shim/third-party/ocaml/BUCK +++ b/shim/third-party/ocaml/BUCK @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + # @lint-ignore BUCKLINT: avoid "Direct usage of native rules is not allowed." prebuilt_cxx_library( name = "ocaml-dev", diff --git a/shim/third-party/ocaml/opam/lib/ocaml b/shim/third-party/ocaml/opam/lib/ocaml index 8bd17a7c..971daaba 100644 --- a/shim/third-party/ocaml/opam/lib/ocaml +++ b/shim/third-party/ocaml/opam/lib/ocaml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + # Fake file so that buck2 can run in non-ocamlrep repos diff --git a/shim/third-party/proto/BUCK b/shim/third-party/proto/BUCK index d8381b74..aefe5570 100644 --- a/shim/third-party/proto/BUCK +++ b/shim/third-party/proto/BUCK @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + # @lint-ignore BUCKLINT: avoid "Direct usage of native rules is not allowed." load(":defs.bzl", "protoc_distribution") diff --git a/shim/third-party/proto/defs.bzl b/shim/third-party/proto/defs.bzl index 18938c5a..9f8d5060 100644 --- a/shim/third-party/proto/defs.bzl +++ b/shim/third-party/proto/defs.bzl @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + load("@prelude//http_archive/exec_deps.bzl", "HttpArchiveExecDeps") load(":releases.bzl", "releases") diff --git a/shim/third-party/proto/releases.bzl b/shim/third-party/proto/releases.bzl index 153ca496..2feb48e7 100644 --- a/shim/third-party/proto/releases.bzl +++ b/shim/third-party/proto/releases.bzl @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + # @generated # Update with ./update.py > releases.bzl releases = { diff --git a/shim/third-party/proto/update.py b/shim/third-party/proto/update.py index cfee489f..c3ac3a63 100755 --- a/shim/third-party/proto/update.py +++ b/shim/third-party/proto/update.py @@ -1,4 +1,11 @@ #!/usr/bin/env python3 +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + """Query recent Github release artifacts for protobuf. Use this script to update the releases.bzl file that contains metadata about @@ -36,6 +43,14 @@ } } """ +COPYRIGHT_HEADER = """\ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. +""" async def query_releases(): async with aiohttp.ClientSession(raise_for_status=True) as session: @@ -91,6 +106,7 @@ async def main(): releases = await query_releases() formatted = format_releases(releases) with_sha256 = await hash_releases(formatted) + print(COPYRIGHT_HEADER) print("# @" + "generated") print("# Update with ./update.py > releases.bzl") print("releases = ", json.dumps(with_sha256, indent=4)) diff --git a/shim/third-party/rust/.gitignore b/shim/third-party/rust/.gitignore index c18f3dc4..95e346d6 100644 --- a/shim/third-party/rust/.gitignore +++ b/shim/third-party/rust/.gitignore @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + # Ignore Cargo-related stuff .cargo/registry .cargo/git diff --git a/shim/third-party/rust/Cargo.toml b/shim/third-party/rust/Cargo.toml index 903e5fcb..84ec27d4 100644 --- a/shim/third-party/rust/Cargo.toml +++ b/shim/third-party/rust/Cargo.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + # Definitions of third-party libraries used for buck2 build of buck2. # This file is **not** used by cargo build of buck2. # See the /docs/bootstrapping.md for more details. diff --git a/shim/third-party/rust/defs.bzl b/shim/third-party/rust/defs.bzl index 6d295fdd..ae25b318 100644 --- a/shim/third-party/rust/defs.bzl +++ b/shim/third-party/rust/defs.bzl @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + def rust_library_from_crates(name): # @lint-ignore BUCKLINT: avoid "Direct usage of native rules is not allowed." native.export_file(name = name, src = "BUCK", visibility = ["PUBLIC"]) diff --git a/shim/third-party/rust/fixups/ahash/fixups.toml b/shim/third-party/rust/fixups/ahash/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/ahash/fixups.toml +++ b/shim/third-party/rust/fixups/ahash/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/anyhow/fixups.toml b/shim/third-party/rust/fixups/anyhow/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/anyhow/fixups.toml +++ b/shim/third-party/rust/fixups/anyhow/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/async-trait/fixups.toml b/shim/third-party/rust/fixups/async-trait/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/async-trait/fixups.toml +++ b/shim/third-party/rust/fixups/async-trait/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/atomic/fixups.toml b/shim/third-party/rust/fixups/atomic/fixups.toml index 5e026f75..d5145994 100644 --- a/shim/third-party/rust/fixups/atomic/fixups.toml +++ b/shim/third-party/rust/fixups/atomic/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [[buildscript]] [buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/axum-core/fixups.toml b/shim/third-party/rust/fixups/axum-core/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/axum-core/fixups.toml +++ b/shim/third-party/rust/fixups/axum-core/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/axum/fixups.toml b/shim/third-party/rust/fixups/axum/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/axum/fixups.toml +++ b/shim/third-party/rust/fixups/axum/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/backtrace/fixups.toml b/shim/third-party/rust/fixups/backtrace/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/backtrace/fixups.toml +++ b/shim/third-party/rust/fixups/backtrace/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/blake3/fixups.toml b/shim/third-party/rust/fixups/blake3/fixups.toml index 389fd57a..19d0d8ad 100644 --- a/shim/third-party/rust/fixups/blake3/fixups.toml +++ b/shim/third-party/rust/fixups/blake3/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] ## The various X86 platform fixups diff --git a/shim/third-party/rust/fixups/bumpalo/fixups.toml b/shim/third-party/rust/fixups/bumpalo/fixups.toml index edd9a207..928a0682 100644 --- a/shim/third-party/rust/fixups/bumpalo/fixups.toml +++ b/shim/third-party/rust/fixups/bumpalo/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + extra_srcs = ["README.md"] diff --git a/shim/third-party/rust/fixups/bzip2-sys/fixups.toml b/shim/third-party/rust/fixups/bzip2-sys/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/bzip2-sys/fixups.toml +++ b/shim/third-party/rust/fixups/bzip2-sys/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/clap/fixups.toml b/shim/third-party/rust/fixups/clap/fixups.toml index ee94fdc2..41256d38 100644 --- a/shim/third-party/rust/fixups/clap/fixups.toml +++ b/shim/third-party/rust/fixups/clap/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + omit_features = ["deprecated"] diff --git a/shim/third-party/rust/fixups/clap_builder/fixups.toml b/shim/third-party/rust/fixups/clap_builder/fixups.toml index edd9a207..928a0682 100644 --- a/shim/third-party/rust/fixups/clap_builder/fixups.toml +++ b/shim/third-party/rust/fixups/clap_builder/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + extra_srcs = ["README.md"] diff --git a/shim/third-party/rust/fixups/clap_derive/fixups.toml b/shim/third-party/rust/fixups/clap_derive/fixups.toml index ee94fdc2..41256d38 100644 --- a/shim/third-party/rust/fixups/clap_derive/fixups.toml +++ b/shim/third-party/rust/fixups/clap_derive/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + omit_features = ["deprecated"] diff --git a/shim/third-party/rust/fixups/core-foundation-sys/fixups.toml b/shim/third-party/rust/fixups/core-foundation-sys/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/core-foundation-sys/fixups.toml +++ b/shim/third-party/rust/fixups/core-foundation-sys/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/crc32fast/fixups.toml b/shim/third-party/rust/fixups/crc32fast/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/crc32fast/fixups.toml +++ b/shim/third-party/rust/fixups/crc32fast/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/criterion/fixups.toml b/shim/third-party/rust/fixups/criterion/fixups.toml index 41439d33..1da45ba2 100644 --- a/shim/third-party/rust/fixups/criterion/fixups.toml +++ b/shim/third-party/rust/fixups/criterion/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + cargo_env = true diff --git a/shim/third-party/rust/fixups/crossbeam-epoch/fixups.toml b/shim/third-party/rust/fixups/crossbeam-epoch/fixups.toml index 35109284..118f2693 100644 --- a/shim/third-party/rust/fixups/crossbeam-epoch/fixups.toml +++ b/shim/third-party/rust/fixups/crossbeam-epoch/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] cargo_env = true diff --git a/shim/third-party/rust/fixups/crossbeam-queue/fixups.toml b/shim/third-party/rust/fixups/crossbeam-queue/fixups.toml index 35109284..118f2693 100644 --- a/shim/third-party/rust/fixups/crossbeam-queue/fixups.toml +++ b/shim/third-party/rust/fixups/crossbeam-queue/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] cargo_env = true diff --git a/shim/third-party/rust/fixups/crossbeam-utils/fixups.toml b/shim/third-party/rust/fixups/crossbeam-utils/fixups.toml index 35109284..118f2693 100644 --- a/shim/third-party/rust/fixups/crossbeam-utils/fixups.toml +++ b/shim/third-party/rust/fixups/crossbeam-utils/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] cargo_env = true diff --git a/shim/third-party/rust/fixups/crunchy/fixups.toml b/shim/third-party/rust/fixups/crunchy/fixups.toml index ac9ebfb4..309316ac 100644 --- a/shim/third-party/rust/fixups/crunchy/fixups.toml +++ b/shim/third-party/rust/fixups/crunchy/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [[buildscript]] [buildscript.gen_srcs] diff --git a/shim/third-party/rust/fixups/darwin-libproc-sys/fixups.toml b/shim/third-party/rust/fixups/darwin-libproc-sys/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/darwin-libproc-sys/fixups.toml +++ b/shim/third-party/rust/fixups/darwin-libproc-sys/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/debugserver-types/fixups.toml b/shim/third-party/rust/fixups/debugserver-types/fixups.toml index 50645274..c740f121 100644 --- a/shim/third-party/rust/fixups/debugserver-types/fixups.toml +++ b/shim/third-party/rust/fixups/debugserver-types/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + extra_srcs = ["src/schema.json"] cargo_env = true diff --git a/shim/third-party/rust/fixups/derive_more-impl/fixups.toml b/shim/third-party/rust/fixups/derive_more-impl/fixups.toml index 2b26bb67..190a6c25 100644 --- a/shim/third-party/rust/fixups/derive_more-impl/fixups.toml +++ b/shim/third-party/rust/fixups/derive_more-impl/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + extra_srcs = ["README.md", "doc/*.md"] diff --git a/shim/third-party/rust/fixups/derive_more/fixups.toml b/shim/third-party/rust/fixups/derive_more/fixups.toml index edd9a207..928a0682 100644 --- a/shim/third-party/rust/fixups/derive_more/fixups.toml +++ b/shim/third-party/rust/fixups/derive_more/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + extra_srcs = ["README.md"] diff --git a/shim/third-party/rust/fixups/erased-serde/fixups.toml b/shim/third-party/rust/fixups/erased-serde/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/erased-serde/fixups.toml +++ b/shim/third-party/rust/fixups/erased-serde/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/fs-err/fixups.toml b/shim/third-party/rust/fixups/fs-err/fixups.toml index 5e026f75..d5145994 100644 --- a/shim/third-party/rust/fixups/fs-err/fixups.toml +++ b/shim/third-party/rust/fixups/fs-err/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [[buildscript]] [buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/fs4/fixups.toml b/shim/third-party/rust/fixups/fs4/fixups.toml index af7edb27..9b40a18f 100644 --- a/shim/third-party/rust/fixups/fs4/fixups.toml +++ b/shim/third-party/rust/fixups/fs4/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + extra_srcs = ["src/**/*.rs"] diff --git a/shim/third-party/rust/fixups/futures-channel/fixups.toml b/shim/third-party/rust/fixups/futures-channel/fixups.toml index 35109284..118f2693 100644 --- a/shim/third-party/rust/fixups/futures-channel/fixups.toml +++ b/shim/third-party/rust/fixups/futures-channel/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] cargo_env = true diff --git a/shim/third-party/rust/fixups/futures-core/fixups.toml b/shim/third-party/rust/fixups/futures-core/fixups.toml index 35109284..118f2693 100644 --- a/shim/third-party/rust/fixups/futures-core/fixups.toml +++ b/shim/third-party/rust/fixups/futures-core/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] cargo_env = true diff --git a/shim/third-party/rust/fixups/futures-task/fixups.toml b/shim/third-party/rust/fixups/futures-task/fixups.toml index 35109284..118f2693 100644 --- a/shim/third-party/rust/fixups/futures-task/fixups.toml +++ b/shim/third-party/rust/fixups/futures-task/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] cargo_env = true diff --git a/shim/third-party/rust/fixups/futures-util/fixups.toml b/shim/third-party/rust/fixups/futures-util/fixups.toml index 35109284..118f2693 100644 --- a/shim/third-party/rust/fixups/futures-util/fixups.toml +++ b/shim/third-party/rust/fixups/futures-util/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] cargo_env = true diff --git a/shim/third-party/rust/fixups/generic-array/fixups.toml b/shim/third-party/rust/fixups/generic-array/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/generic-array/fixups.toml +++ b/shim/third-party/rust/fixups/generic-array/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/getrandom/fixups.toml b/shim/third-party/rust/fixups/getrandom/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/getrandom/fixups.toml +++ b/shim/third-party/rust/fixups/getrandom/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/httparse/fixups.toml b/shim/third-party/rust/fixups/httparse/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/httparse/fixups.toml +++ b/shim/third-party/rust/fixups/httparse/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/hyper/fixups.toml b/shim/third-party/rust/fixups/hyper/fixups.toml index 9118e9de..4dc9cd11 100644 --- a/shim/third-party/rust/fixups/hyper/fixups.toml +++ b/shim/third-party/rust/fixups/hyper/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + # reindeer cannot see through `cfg_proto!` macros and the like extra_srcs = ["src/**/*.rs"] diff --git a/shim/third-party/rust/fixups/indexmap/fixups.toml b/shim/third-party/rust/fixups/indexmap/fixups.toml index 4aa45eda..40887268 100644 --- a/shim/third-party/rust/fixups/indexmap/fixups.toml +++ b/shim/third-party/rust/fixups/indexmap/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] cfgs = ["has_std"] diff --git a/shim/third-party/rust/fixups/io-lifetimes/fixups.toml b/shim/third-party/rust/fixups/io-lifetimes/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/io-lifetimes/fixups.toml +++ b/shim/third-party/rust/fixups/io-lifetimes/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/jemalloc-sys/fixups.toml b/shim/third-party/rust/fixups/jemalloc-sys/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/jemalloc-sys/fixups.toml +++ b/shim/third-party/rust/fixups/jemalloc-sys/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/lalrpop/fixups.toml b/shim/third-party/rust/fixups/lalrpop/fixups.toml index 41439d33..1da45ba2 100644 --- a/shim/third-party/rust/fixups/lalrpop/fixups.toml +++ b/shim/third-party/rust/fixups/lalrpop/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + cargo_env = true diff --git a/shim/third-party/rust/fixups/lexical-core/fixups.toml b/shim/third-party/rust/fixups/lexical-core/fixups.toml index 5e026f75..d5145994 100644 --- a/shim/third-party/rust/fixups/lexical-core/fixups.toml +++ b/shim/third-party/rust/fixups/lexical-core/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [[buildscript]] [buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/libc/fixups.toml b/shim/third-party/rust/fixups/libc/fixups.toml index 5e026f75..d5145994 100644 --- a/shim/third-party/rust/fixups/libc/fixups.toml +++ b/shim/third-party/rust/fixups/libc/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [[buildscript]] [buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/libm/fixups.toml b/shim/third-party/rust/fixups/libm/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/libm/fixups.toml +++ b/shim/third-party/rust/fixups/libm/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/libsqlite3-sys/BUCK b/shim/third-party/rust/fixups/libsqlite3-sys/BUCK index de78a99d..938b0a56 100644 --- a/shim/third-party/rust/fixups/libsqlite3-sys/BUCK +++ b/shim/third-party/rust/fixups/libsqlite3-sys/BUCK @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + filegroup( name = "out_dir", srcs = ["bindgen.rs"], diff --git a/shim/third-party/rust/fixups/libsqlite3-sys/fixups.toml b/shim/third-party/rust/fixups/libsqlite3-sys/fixups.toml index 240a5c89..139464b1 100644 --- a/shim/third-party/rust/fixups/libsqlite3-sys/fixups.toml +++ b/shim/third-party/rust/fixups/libsqlite3-sys/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + # libsqlite3-sys uses a bindgen binding to libsqlite. # We can't easily import bindgen because of its libclang dependency, # so in the meantime we need to use pre-generated bindgen files. diff --git a/shim/third-party/rust/fixups/lock_api/fixups.toml b/shim/third-party/rust/fixups/lock_api/fixups.toml index 6c1a3d45..4d082640 100644 --- a/shim/third-party/rust/fixups/lock_api/fixups.toml +++ b/shim/third-party/rust/fixups/lock_api/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + # the build script for lock_api is a version check for rust 1.61. [[buildscript]] [buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/log/fixups.toml b/shim/third-party/rust/fixups/log/fixups.toml index 5e026f75..d5145994 100644 --- a/shim/third-party/rust/fixups/log/fixups.toml +++ b/shim/third-party/rust/fixups/log/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [[buildscript]] [buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/memchr/fixups.toml b/shim/third-party/rust/fixups/memchr/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/memchr/fixups.toml +++ b/shim/third-party/rust/fixups/memchr/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/memoffset/fixups.toml b/shim/third-party/rust/fixups/memoffset/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/memoffset/fixups.toml +++ b/shim/third-party/rust/fixups/memoffset/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/mio/fixups.toml b/shim/third-party/rust/fixups/mio/fixups.toml index af7edb27..9b40a18f 100644 --- a/shim/third-party/rust/fixups/mio/fixups.toml +++ b/shim/third-party/rust/fixups/mio/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + extra_srcs = ["src/**/*.rs"] diff --git a/shim/third-party/rust/fixups/native-tls/fixups.toml b/shim/third-party/rust/fixups/native-tls/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/native-tls/fixups.toml +++ b/shim/third-party/rust/fixups/native-tls/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/nix/fixups.toml b/shim/third-party/rust/fixups/nix/fixups.toml index 1849ea06..c269a19b 100644 --- a/shim/third-party/rust/fixups/nix/fixups.toml +++ b/shim/third-party/rust/fixups/nix/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] extra_srcs = ["src/**/*.rs"] diff --git a/shim/third-party/rust/fixups/nom/fixups.toml b/shim/third-party/rust/fixups/nom/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/nom/fixups.toml +++ b/shim/third-party/rust/fixups/nom/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/ntapi/fixups.toml b/shim/third-party/rust/fixups/ntapi/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/ntapi/fixups.toml +++ b/shim/third-party/rust/fixups/ntapi/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/num-bigint/fixups.toml b/shim/third-party/rust/fixups/num-bigint/fixups.toml index df0b424f..55e01177 100644 --- a/shim/third-party/rust/fixups/num-bigint/fixups.toml +++ b/shim/third-party/rust/fixups/num-bigint/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [[buildscript]] [buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/num-integer/fixups.toml b/shim/third-party/rust/fixups/num-integer/fixups.toml index 5e026f75..d5145994 100644 --- a/shim/third-party/rust/fixups/num-integer/fixups.toml +++ b/shim/third-party/rust/fixups/num-integer/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [[buildscript]] [buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/num-traits/fixups.toml b/shim/third-party/rust/fixups/num-traits/fixups.toml index 5e026f75..d5145994 100644 --- a/shim/third-party/rust/fixups/num-traits/fixups.toml +++ b/shim/third-party/rust/fixups/num-traits/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [[buildscript]] [buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/oid-registry/fixups.toml b/shim/third-party/rust/fixups/oid-registry/fixups.toml index 79d5cb97..45a72665 100644 --- a/shim/third-party/rust/fixups/oid-registry/fixups.toml +++ b/shim/third-party/rust/fixups/oid-registry/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + cargo_env = [ "CARGO_PKG_NAME", # Needed by _buck1_handle_manifest_dir "CARGO_MANIFEST_DIR", diff --git a/shim/third-party/rust/fixups/parking_lot/fixups.toml b/shim/third-party/rust/fixups/parking_lot/fixups.toml index 5e026f75..d5145994 100644 --- a/shim/third-party/rust/fixups/parking_lot/fixups.toml +++ b/shim/third-party/rust/fixups/parking_lot/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [[buildscript]] [buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/parking_lot_core/fixups.toml b/shim/third-party/rust/fixups/parking_lot_core/fixups.toml index 5e026f75..d5145994 100644 --- a/shim/third-party/rust/fixups/parking_lot_core/fixups.toml +++ b/shim/third-party/rust/fixups/parking_lot_core/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [[buildscript]] [buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/paste/fixups.toml b/shim/third-party/rust/fixups/paste/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/paste/fixups.toml +++ b/shim/third-party/rust/fixups/paste/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/pest/fixups.toml b/shim/third-party/rust/fixups/pest/fixups.toml index af7edb27..9b40a18f 100644 --- a/shim/third-party/rust/fixups/pest/fixups.toml +++ b/shim/third-party/rust/fixups/pest/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + extra_srcs = ["src/**/*.rs"] diff --git a/shim/third-party/rust/fixups/pin-project-internal/fixups.toml b/shim/third-party/rust/fixups/pin-project-internal/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/pin-project-internal/fixups.toml +++ b/shim/third-party/rust/fixups/pin-project-internal/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/platforms/fixups.toml b/shim/third-party/rust/fixups/platforms/fixups.toml index e086791c..beb28c09 100644 --- a/shim/third-party/rust/fixups/platforms/fixups.toml +++ b/shim/third-party/rust/fixups/platforms/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + # Buildscript sets TARGET in environment buildscript = [] diff --git a/shim/third-party/rust/fixups/prettyplease/fixups.toml b/shim/third-party/rust/fixups/prettyplease/fixups.toml index 35109284..118f2693 100644 --- a/shim/third-party/rust/fixups/prettyplease/fixups.toml +++ b/shim/third-party/rust/fixups/prettyplease/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] cargo_env = true diff --git a/shim/third-party/rust/fixups/proc-macro-error-attr/fixups.toml b/shim/third-party/rust/fixups/proc-macro-error-attr/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/proc-macro-error-attr/fixups.toml +++ b/shim/third-party/rust/fixups/proc-macro-error-attr/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/proc-macro-error/fixups.toml b/shim/third-party/rust/fixups/proc-macro-error/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/proc-macro-error/fixups.toml +++ b/shim/third-party/rust/fixups/proc-macro-error/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/proc-macro-hack/fixups.toml b/shim/third-party/rust/fixups/proc-macro-hack/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/proc-macro-hack/fixups.toml +++ b/shim/third-party/rust/fixups/proc-macro-hack/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/proc-macro2/fixups.toml b/shim/third-party/rust/fixups/proc-macro2/fixups.toml index 5e026f75..d5145994 100644 --- a/shim/third-party/rust/fixups/proc-macro2/fixups.toml +++ b/shim/third-party/rust/fixups/proc-macro2/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [[buildscript]] [buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/prost-build/fixups.toml b/shim/third-party/rust/fixups/prost-build/fixups.toml index 5865e690..61a5cb67 100644 --- a/shim/third-party/rust/fixups/prost-build/fixups.toml +++ b/shim/third-party/rust/fixups/prost-build/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] # These are here because the crate uses the env! macro diff --git a/shim/third-party/rust/fixups/pulldown-cmark/fixups.toml b/shim/third-party/rust/fixups/pulldown-cmark/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/pulldown-cmark/fixups.toml +++ b/shim/third-party/rust/fixups/pulldown-cmark/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/quote/fixups.toml b/shim/third-party/rust/fixups/quote/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/quote/fixups.toml +++ b/shim/third-party/rust/fixups/quote/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/radium/fixups.toml b/shim/third-party/rust/fixups/radium/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/radium/fixups.toml +++ b/shim/third-party/rust/fixups/radium/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/rayon-core/fixups.toml b/shim/third-party/rust/fixups/rayon-core/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/rayon-core/fixups.toml +++ b/shim/third-party/rust/fixups/rayon-core/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/ref-cast/fixups.toml b/shim/third-party/rust/fixups/ref-cast/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/ref-cast/fixups.toml +++ b/shim/third-party/rust/fixups/ref-cast/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/reqwest/fixups.toml b/shim/third-party/rust/fixups/reqwest/fixups.toml index af7edb27..9b40a18f 100644 --- a/shim/third-party/rust/fixups/reqwest/fixups.toml +++ b/shim/third-party/rust/fixups/reqwest/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + extra_srcs = ["src/**/*.rs"] diff --git a/shim/third-party/rust/fixups/ring/fixups.toml b/shim/third-party/rust/fixups/ring/fixups.toml index d2c83589..8e7020eb 100644 --- a/shim/third-party/rust/fixups/ring/fixups.toml +++ b/shim/third-party/rust/fixups/ring/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + # Copied from fbsource fixup. buildscript = [] diff --git a/shim/third-party/rust/fixups/rustix/fixups.toml b/shim/third-party/rust/fixups/rustix/fixups.toml index 5e026f75..d5145994 100644 --- a/shim/third-party/rust/fixups/rustix/fixups.toml +++ b/shim/third-party/rust/fixups/rustix/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [[buildscript]] [buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/rustls/fixups.toml b/shim/third-party/rust/fixups/rustls/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/rustls/fixups.toml +++ b/shim/third-party/rust/fixups/rustls/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/rustversion/fixups.toml b/shim/third-party/rust/fixups/rustversion/fixups.toml index ac9ebfb4..309316ac 100644 --- a/shim/third-party/rust/fixups/rustversion/fixups.toml +++ b/shim/third-party/rust/fixups/rustversion/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [[buildscript]] [buildscript.gen_srcs] diff --git a/shim/third-party/rust/fixups/serde/fixups.toml b/shim/third-party/rust/fixups/serde/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/serde/fixups.toml +++ b/shim/third-party/rust/fixups/serde/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/serde_derive/fixups.toml b/shim/third-party/rust/fixups/serde_derive/fixups.toml index 7de4ebb3..015a575a 100644 --- a/shim/third-party/rust/fixups/serde_derive/fixups.toml +++ b/shim/third-party/rust/fixups/serde_derive/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + # To set `CARGO_MANIFEST_DIR` cargo_env = true buildscript = [] diff --git a/shim/third-party/rust/fixups/serde_json/fixups.toml b/shim/third-party/rust/fixups/serde_json/fixups.toml index 5e026f75..d5145994 100644 --- a/shim/third-party/rust/fixups/serde_json/fixups.toml +++ b/shim/third-party/rust/fixups/serde_json/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [[buildscript]] [buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/signal-hook/fixups.toml b/shim/third-party/rust/fixups/signal-hook/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/signal-hook/fixups.toml +++ b/shim/third-party/rust/fixups/signal-hook/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/slab/fixups.toml b/shim/third-party/rust/fixups/slab/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/slab/fixups.toml +++ b/shim/third-party/rust/fixups/slab/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/slog/fixups.toml b/shim/third-party/rust/fixups/slog/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/slog/fixups.toml +++ b/shim/third-party/rust/fixups/slog/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/syn/fixups.toml b/shim/third-party/rust/fixups/syn/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/syn/fixups.toml +++ b/shim/third-party/rust/fixups/syn/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/sys-info/fixups.toml b/shim/third-party/rust/fixups/sys-info/fixups.toml index 5d124b3a..39a5fdc3 100644 --- a/shim/third-party/rust/fixups/sys-info/fixups.toml +++ b/shim/third-party/rust/fixups/sys-info/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] [[platform_fixup.'cfg(target_os = "linux")'.buildscript]] diff --git a/shim/third-party/rust/fixups/sysinfo/fixups.toml b/shim/third-party/rust/fixups/sysinfo/fixups.toml index 8518b189..bcf5ac49 100644 --- a/shim/third-party/rust/fixups/sysinfo/fixups.toml +++ b/shim/third-party/rust/fixups/sysinfo/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + extra_srcs = ["README.md", "md_doc/**/*.md"] buildscript = [] diff --git a/shim/third-party/rust/fixups/tempfile/fixups.toml b/shim/third-party/rust/fixups/tempfile/fixups.toml index 5e026f75..d5145994 100644 --- a/shim/third-party/rust/fixups/tempfile/fixups.toml +++ b/shim/third-party/rust/fixups/tempfile/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [[buildscript]] [buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/terminfo/fixups.toml b/shim/third-party/rust/fixups/terminfo/fixups.toml index ac9ebfb4..309316ac 100644 --- a/shim/third-party/rust/fixups/terminfo/fixups.toml +++ b/shim/third-party/rust/fixups/terminfo/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [[buildscript]] [buildscript.gen_srcs] diff --git a/shim/third-party/rust/fixups/termwiz/fixups.toml b/shim/third-party/rust/fixups/termwiz/fixups.toml index fdba1eb2..478b0154 100644 --- a/shim/third-party/rust/fixups/termwiz/fixups.toml +++ b/shim/third-party/rust/fixups/termwiz/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + cargo_env = true extra_srcs = ["src/**/*.pest"] diff --git a/shim/third-party/rust/fixups/test-case/fixups.toml b/shim/third-party/rust/fixups/test-case/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/test-case/fixups.toml +++ b/shim/third-party/rust/fixups/test-case/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/thiserror/fixups.toml b/shim/third-party/rust/fixups/thiserror/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/thiserror/fixups.toml +++ b/shim/third-party/rust/fixups/thiserror/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/tiny-keccak/fixups.toml b/shim/third-party/rust/fixups/tiny-keccak/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/tiny-keccak/fixups.toml +++ b/shim/third-party/rust/fixups/tiny-keccak/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/tokio-stream/fixups.toml b/shim/third-party/rust/fixups/tokio-stream/fixups.toml index a1f4f0e7..3c20ec40 100644 --- a/shim/third-party/rust/fixups/tokio-stream/fixups.toml +++ b/shim/third-party/rust/fixups/tokio-stream/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + # reindeer cannot see through `cfg_sync!` macros and the like extra_srcs = ["src/**/*.rs"] diff --git a/shim/third-party/rust/fixups/tokio-util/fixups.toml b/shim/third-party/rust/fixups/tokio-util/fixups.toml index af7edb27..9b40a18f 100644 --- a/shim/third-party/rust/fixups/tokio-util/fixups.toml +++ b/shim/third-party/rust/fixups/tokio-util/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + extra_srcs = ["src/**/*.rs"] diff --git a/shim/third-party/rust/fixups/tokio/fixups.toml b/shim/third-party/rust/fixups/tokio/fixups.toml index d69dcefd..1446deeb 100644 --- a/shim/third-party/rust/fixups/tokio/fixups.toml +++ b/shim/third-party/rust/fixups/tokio/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + cfgs = ["tokio_unstable", "tokio_track_caller"] extra_srcs = ["src/**/*.rs"] diff --git a/shim/third-party/rust/fixups/tonic/fixups.toml b/shim/third-party/rust/fixups/tonic/fixups.toml index 41439d33..1da45ba2 100644 --- a/shim/third-party/rust/fixups/tonic/fixups.toml +++ b/shim/third-party/rust/fixups/tonic/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + cargo_env = true diff --git a/shim/third-party/rust/fixups/tracing-subscriber/fixups.toml b/shim/third-party/rust/fixups/tracing-subscriber/fixups.toml index 28683dbe..bb8e8892 100644 --- a/shim/third-party/rust/fixups/tracing-subscriber/fixups.toml +++ b/shim/third-party/rust/fixups/tracing-subscriber/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + # Reindeer can't find the dependencies due to being confused by the feature! macro. extra_srcs = ["src/**/*.rs"] diff --git a/shim/third-party/rust/fixups/trybuild/fixups.toml b/shim/third-party/rust/fixups/trybuild/fixups.toml index ac9ebfb4..309316ac 100644 --- a/shim/third-party/rust/fixups/trybuild/fixups.toml +++ b/shim/third-party/rust/fixups/trybuild/fixups.toml @@ -1,2 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [[buildscript]] [buildscript.gen_srcs] diff --git a/shim/third-party/rust/fixups/typenum/fixups.toml b/shim/third-party/rust/fixups/typenum/fixups.toml index 7ab02e4f..6f947d94 100644 --- a/shim/third-party/rust/fixups/typenum/fixups.toml +++ b/shim/third-party/rust/fixups/typenum/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + features = ["force_unix_path_separator"] [[buildscript]] diff --git a/shim/third-party/rust/fixups/unicase/fixups.toml b/shim/third-party/rust/fixups/unicase/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/unicase/fixups.toml +++ b/shim/third-party/rust/fixups/unicase/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/winapi-x86_64-pc-windows-gnu/fixups.toml b/shim/third-party/rust/fixups/winapi-x86_64-pc-windows-gnu/fixups.toml index 07c79834..a5a969de 100644 --- a/shim/third-party/rust/fixups/winapi-x86_64-pc-windows-gnu/fixups.toml +++ b/shim/third-party/rust/fixups/winapi-x86_64-pc-windows-gnu/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] [[platform_fixup.'cfg(target_os = "windows")'.buildscript]] diff --git a/shim/third-party/rust/fixups/winapi/fixups.toml b/shim/third-party/rust/fixups/winapi/fixups.toml index ec4f86e5..295d056a 100644 --- a/shim/third-party/rust/fixups/winapi/fixups.toml +++ b/shim/third-party/rust/fixups/winapi/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] [[platform_fixup.'cfg(target_os = "windows")'.buildscript]] diff --git a/shim/third-party/rust/fixups/windows-targets/fixups.toml b/shim/third-party/rust/fixups/windows-targets/fixups.toml index b3555c77..9268eebf 100644 --- a/shim/third-party/rust/fixups/windows-targets/fixups.toml +++ b/shim/third-party/rust/fixups/windows-targets/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + [platform_fixup.'cfg(any(target_os = "windows", target_os = "linux"))'] version = ">=0.48.0" cfgs = ["windows_raw_dylib"] diff --git a/shim/third-party/rust/fixups/windows_aarch64_gnullvm/fixups.toml b/shim/third-party/rust/fixups/windows_aarch64_gnullvm/fixups.toml index f40e9f9c..c924883f 100644 --- a/shim/third-party/rust/fixups/windows_aarch64_gnullvm/fixups.toml +++ b/shim/third-party/rust/fixups/windows_aarch64_gnullvm/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] [platform_fixup.'cfg(all(target_os = "linux", target_arch = "aarch64"))'] diff --git a/shim/third-party/rust/fixups/windows_x86_64_gnu/fixups.toml b/shim/third-party/rust/fixups/windows_x86_64_gnu/fixups.toml index b25e7f05..aa5cd0bf 100644 --- a/shim/third-party/rust/fixups/windows_x86_64_gnu/fixups.toml +++ b/shim/third-party/rust/fixups/windows_x86_64_gnu/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] [platform_fixup.'cfg(all(target_os = "windows", target_env = "gnu"))'] diff --git a/shim/third-party/rust/fixups/windows_x86_64_gnullvm/fixups.toml b/shim/third-party/rust/fixups/windows_x86_64_gnullvm/fixups.toml index a5579b69..568edc03 100644 --- a/shim/third-party/rust/fixups/windows_x86_64_gnullvm/fixups.toml +++ b/shim/third-party/rust/fixups/windows_x86_64_gnullvm/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] [platform_fixup.'cfg(all(target_os = "linux", target_arch = "x86_64"))'] diff --git a/shim/third-party/rust/fixups/windows_x86_64_msvc/fixups.toml b/shim/third-party/rust/fixups/windows_x86_64_msvc/fixups.toml index 8e8dea35..541a4b12 100644 --- a/shim/third-party/rust/fixups/windows_x86_64_msvc/fixups.toml +++ b/shim/third-party/rust/fixups/windows_x86_64_msvc/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] [platform_fixup.'cfg(all(target_os = "windows", target_env = "msvc"))'] diff --git a/shim/third-party/rust/fixups/winreg/fixups.toml b/shim/third-party/rust/fixups/winreg/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/winreg/fixups.toml +++ b/shim/third-party/rust/fixups/winreg/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/zerocopy/fixups.toml b/shim/third-party/rust/fixups/zerocopy/fixups.toml index 41439d33..1da45ba2 100644 --- a/shim/third-party/rust/fixups/zerocopy/fixups.toml +++ b/shim/third-party/rust/fixups/zerocopy/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + cargo_env = true diff --git a/shim/third-party/rust/fixups/zstd-safe/fixups.toml b/shim/third-party/rust/fixups/zstd-safe/fixups.toml index db40d72c..554cc0da 100644 --- a/shim/third-party/rust/fixups/zstd-safe/fixups.toml +++ b/shim/third-party/rust/fixups/zstd-safe/fixups.toml @@ -1 +1,8 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] diff --git a/shim/third-party/rust/fixups/zstd-sys/fixups.toml b/shim/third-party/rust/fixups/zstd-sys/fixups.toml index 2e2d7042..c627d9be 100644 --- a/shim/third-party/rust/fixups/zstd-sys/fixups.toml +++ b/shim/third-party/rust/fixups/zstd-sys/fixups.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + buildscript = [] [[platform_fixup.'cfg(not(all(target_os = "windows", target_env = "msvc")))'.buildscript]] diff --git a/shim/third-party/rust/reindeer.toml b/shim/third-party/rust/reindeer.toml index ab3d1f8d..13d929bb 100644 --- a/shim/third-party/rust/reindeer.toml +++ b/shim/third-party/rust/reindeer.toml @@ -1,3 +1,10 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under both the MIT license found in the +# LICENSE-MIT file in the root directory of this source tree and the Apache +# License, Version 2.0 found in the LICENSE-APACHE file in the root directory +# of this source tree. + # Configuration for Reindeer to generate Buck targets from Cargo.toml # # Overview of available options: