From 92807a341f023ed3efe4824211a302f1ea795432 Mon Sep 17 00:00:00 2001 From: Jon Janzen Date: Fri, 16 Feb 2024 14:25:20 -0800 Subject: [PATCH] Delete more things --- shim/third-party/rust/defs.bzl | 7 - .../third-party/rust/fixups/ahash/fixups.toml | 1 - .../rust/fixups/async-trait/fixups.toml | 1 - .../rust/fixups/atomic/fixups.toml | 2 - .../rust/fixups/axum-core/fixups.toml | 1 - shim/third-party/rust/fixups/axum/fixups.toml | 1 - .../rust/fixups/backtrace/fixups.toml | 1 - .../rust/fixups/blake3/fixups.toml | 81 ------ .../rust/fixups/bzip2-sys/fixups.toml | 1 - .../fixups/core-foundation-sys/fixups.toml | 1 - .../rust/fixups/crc32fast/fixups.toml | 1 - .../rust/fixups/criterion/fixups.toml | 1 - .../rust/fixups/crossbeam-queue/fixups.toml | 2 - .../rust/fixups/crunchy/fixups.toml | 2 - .../fixups/darwin-libproc-sys/fixups.toml | 1 - .../rust/fixups/debugserver-types/fixups.toml | 2 - .../rust/fixups/erased-serde/fixups.toml | 1 - shim/third-party/rust/fixups/fs4/fixups.toml | 1 - .../rust/fixups/futures-channel/fixups.toml | 2 - .../rust/fixups/futures-core/fixups.toml | 2 - .../rust/fixups/futures-task/fixups.toml | 2 - .../rust/fixups/futures-util/fixups.toml | 2 - .../rust/fixups/getrandom/fixups.toml | 1 - .../rust/fixups/httparse/fixups.toml | 1 - .../third-party/rust/fixups/hyper/fixups.toml | 5 - .../rust/fixups/jemalloc-sys/fixups.toml | 1 - .../rust/fixups/lalrpop/fixups.toml | 1 - .../rust/fixups/lexical-core/fixups.toml | 2 - shim/third-party/rust/fixups/libm/fixups.toml | 1 - .../rust/fixups/libsqlite3-sys/fixups.toml | 19 -- .../rust/fixups/lock_api/fixups.toml | 3 - shim/third-party/rust/fixups/log/fixups.toml | 2 - shim/third-party/rust/fixups/mio/fixups.toml | 1 - .../rust/fixups/native-tls/fixups.toml | 1 - shim/third-party/rust/fixups/nix/fixups.toml | 2 - shim/third-party/rust/fixups/nom/fixups.toml | 1 - .../third-party/rust/fixups/ntapi/fixups.toml | 1 - .../rust/fixups/num-bigint/fixups.toml | 5 - .../rust/fixups/num-integer/fixups.toml | 2 - .../rust/fixups/num-traits/fixups.toml | 2 - .../rust/fixups/parking_lot/fixups.toml | 2 - .../rust/fixups/parking_lot_core/fixups.toml | 2 - .../third-party/rust/fixups/paste/fixups.toml | 1 - shim/third-party/rust/fixups/pest/fixups.toml | 1 - .../fixups/pin-project-internal/fixups.toml | 1 - .../rust/fixups/platforms/fixups.toml | 26 -- .../rust/fixups/prettyplease/fixups.toml | 2 - .../rust/fixups/proc-macro-hack/fixups.toml | 1 - .../rust/fixups/prost-build/fixups.toml | 7 - .../rust/fixups/pulldown-cmark/fixups.toml | 1 - .../rust/fixups/radium/fixups.toml | 1 - .../rust/fixups/ref-cast/fixups.toml | 1 - .../rust/fixups/reqwest/fixups.toml | 1 - shim/third-party/rust/fixups/ring/fixups.toml | 162 ------------ .../ring_core_generated/prefix_symbols.h | 119 --------- .../ring_core_generated/prefix_symbols_asm.h | 236 ------------------ .../prefix_symbols_nasm.inc | 236 ------------------ .../rust/fixups/rustls/fixups.toml | 1 - .../rust/fixups/rustversion/fixups.toml | 2 - .../rust/fixups/serde_derive/fixups.toml | 3 - .../rust/fixups/serde_json/fixups.toml | 1 - .../rust/fixups/signal-hook/fixups.toml | 1 - shim/third-party/rust/fixups/slab/fixups.toml | 1 - shim/third-party/rust/fixups/slog/fixups.toml | 1 - .../rust/fixups/sys-info/fixups.toml | 19 -- .../rust/fixups/sysinfo/fixups.toml | 11 - .../rust/fixups/tempfile/fixups.toml | 2 - .../rust/fixups/terminfo/fixups.toml | 2 - .../rust/fixups/termwiz/fixups.toml | 2 - .../rust/fixups/test-case/fixups.toml | 1 - .../rust/fixups/tiny-keccak/fixups.toml | 1 - .../rust/fixups/tokio-stream/fixups.toml | 2 - .../rust/fixups/tokio-util/fixups.toml | 1 - .../third-party/rust/fixups/tokio/fixups.toml | 8 - .../third-party/rust/fixups/tonic/fixups.toml | 1 - .../fixups/tracing-subscriber/fixups.toml | 2 - .../rust/fixups/trybuild/fixups.toml | 2 - .../rust/fixups/windows-targets/fixups.toml | 3 - .../windows_aarch64_gnullvm/fixups.toml | 8 - .../rust/fixups/winreg/fixups.toml | 1 - .../rust/fixups/zerocopy/fixups.toml | 1 - .../rust/fixups/zstd-safe/fixups.toml | 1 - .../rust/fixups/zstd-sys/fixups.toml | 114 --------- 83 files changed, 1159 deletions(-) delete mode 100644 shim/third-party/rust/defs.bzl delete mode 100644 shim/third-party/rust/fixups/ahash/fixups.toml delete mode 100644 shim/third-party/rust/fixups/async-trait/fixups.toml delete mode 100644 shim/third-party/rust/fixups/atomic/fixups.toml delete mode 100644 shim/third-party/rust/fixups/axum-core/fixups.toml delete mode 100644 shim/third-party/rust/fixups/axum/fixups.toml delete mode 100644 shim/third-party/rust/fixups/backtrace/fixups.toml delete mode 100644 shim/third-party/rust/fixups/blake3/fixups.toml delete mode 100644 shim/third-party/rust/fixups/bzip2-sys/fixups.toml delete mode 100644 shim/third-party/rust/fixups/core-foundation-sys/fixups.toml delete mode 100644 shim/third-party/rust/fixups/crc32fast/fixups.toml delete mode 100644 shim/third-party/rust/fixups/criterion/fixups.toml delete mode 100644 shim/third-party/rust/fixups/crossbeam-queue/fixups.toml delete mode 100644 shim/third-party/rust/fixups/crunchy/fixups.toml delete mode 100644 shim/third-party/rust/fixups/darwin-libproc-sys/fixups.toml delete mode 100644 shim/third-party/rust/fixups/debugserver-types/fixups.toml delete mode 100644 shim/third-party/rust/fixups/erased-serde/fixups.toml delete mode 100644 shim/third-party/rust/fixups/fs4/fixups.toml delete mode 100644 shim/third-party/rust/fixups/futures-channel/fixups.toml delete mode 100644 shim/third-party/rust/fixups/futures-core/fixups.toml delete mode 100644 shim/third-party/rust/fixups/futures-task/fixups.toml delete mode 100644 shim/third-party/rust/fixups/futures-util/fixups.toml delete mode 100644 shim/third-party/rust/fixups/getrandom/fixups.toml delete mode 100644 shim/third-party/rust/fixups/httparse/fixups.toml delete mode 100644 shim/third-party/rust/fixups/hyper/fixups.toml delete mode 100644 shim/third-party/rust/fixups/jemalloc-sys/fixups.toml delete mode 100644 shim/third-party/rust/fixups/lalrpop/fixups.toml delete mode 100644 shim/third-party/rust/fixups/lexical-core/fixups.toml delete mode 100644 shim/third-party/rust/fixups/libm/fixups.toml delete mode 100644 shim/third-party/rust/fixups/libsqlite3-sys/fixups.toml delete mode 100644 shim/third-party/rust/fixups/lock_api/fixups.toml delete mode 100644 shim/third-party/rust/fixups/log/fixups.toml delete mode 100644 shim/third-party/rust/fixups/mio/fixups.toml delete mode 100644 shim/third-party/rust/fixups/native-tls/fixups.toml delete mode 100644 shim/third-party/rust/fixups/nix/fixups.toml delete mode 100644 shim/third-party/rust/fixups/nom/fixups.toml delete mode 100644 shim/third-party/rust/fixups/ntapi/fixups.toml delete mode 100644 shim/third-party/rust/fixups/num-bigint/fixups.toml delete mode 100644 shim/third-party/rust/fixups/num-integer/fixups.toml delete mode 100644 shim/third-party/rust/fixups/num-traits/fixups.toml delete mode 100644 shim/third-party/rust/fixups/parking_lot/fixups.toml delete mode 100644 shim/third-party/rust/fixups/parking_lot_core/fixups.toml delete mode 100644 shim/third-party/rust/fixups/paste/fixups.toml delete mode 100644 shim/third-party/rust/fixups/pest/fixups.toml delete mode 100644 shim/third-party/rust/fixups/pin-project-internal/fixups.toml delete mode 100644 shim/third-party/rust/fixups/platforms/fixups.toml delete mode 100644 shim/third-party/rust/fixups/prettyplease/fixups.toml delete mode 100644 shim/third-party/rust/fixups/proc-macro-hack/fixups.toml delete mode 100644 shim/third-party/rust/fixups/prost-build/fixups.toml delete mode 100644 shim/third-party/rust/fixups/pulldown-cmark/fixups.toml delete mode 100644 shim/third-party/rust/fixups/radium/fixups.toml delete mode 100644 shim/third-party/rust/fixups/ref-cast/fixups.toml delete mode 100644 shim/third-party/rust/fixups/reqwest/fixups.toml delete mode 100644 shim/third-party/rust/fixups/ring/fixups.toml delete mode 100644 shim/third-party/rust/fixups/ring/include/ring_core_generated/prefix_symbols.h delete mode 100644 shim/third-party/rust/fixups/ring/include/ring_core_generated/prefix_symbols_asm.h delete mode 100644 shim/third-party/rust/fixups/ring/include/ring_core_generated/prefix_symbols_nasm.inc delete mode 100644 shim/third-party/rust/fixups/rustls/fixups.toml delete mode 100644 shim/third-party/rust/fixups/rustversion/fixups.toml delete mode 100644 shim/third-party/rust/fixups/serde_derive/fixups.toml delete mode 100644 shim/third-party/rust/fixups/serde_json/fixups.toml delete mode 100644 shim/third-party/rust/fixups/signal-hook/fixups.toml delete mode 100644 shim/third-party/rust/fixups/slab/fixups.toml delete mode 100644 shim/third-party/rust/fixups/slog/fixups.toml delete mode 100644 shim/third-party/rust/fixups/sys-info/fixups.toml delete mode 100644 shim/third-party/rust/fixups/sysinfo/fixups.toml delete mode 100644 shim/third-party/rust/fixups/tempfile/fixups.toml delete mode 100644 shim/third-party/rust/fixups/terminfo/fixups.toml delete mode 100644 shim/third-party/rust/fixups/termwiz/fixups.toml delete mode 100644 shim/third-party/rust/fixups/test-case/fixups.toml delete mode 100644 shim/third-party/rust/fixups/tiny-keccak/fixups.toml delete mode 100644 shim/third-party/rust/fixups/tokio-stream/fixups.toml delete mode 100644 shim/third-party/rust/fixups/tokio-util/fixups.toml delete mode 100644 shim/third-party/rust/fixups/tokio/fixups.toml delete mode 100644 shim/third-party/rust/fixups/tonic/fixups.toml delete mode 100644 shim/third-party/rust/fixups/tracing-subscriber/fixups.toml delete mode 100644 shim/third-party/rust/fixups/trybuild/fixups.toml delete mode 100644 shim/third-party/rust/fixups/windows-targets/fixups.toml delete mode 100644 shim/third-party/rust/fixups/windows_aarch64_gnullvm/fixups.toml delete mode 100644 shim/third-party/rust/fixups/winreg/fixups.toml delete mode 100644 shim/third-party/rust/fixups/zerocopy/fixups.toml delete mode 100644 shim/third-party/rust/fixups/zstd-safe/fixups.toml delete mode 100644 shim/third-party/rust/fixups/zstd-sys/fixups.toml diff --git a/shim/third-party/rust/defs.bzl b/shim/third-party/rust/defs.bzl deleted file mode 100644 index 6d295fdd..00000000 --- a/shim/third-party/rust/defs.bzl +++ /dev/null @@ -1,7 +0,0 @@ -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"]) - -def rust_binary_from_crates(name): - # @lint-ignore BUCKLINT: avoid "Direct usage of native rules is not allowed." - native.genrule(name = name, cmd = "exit 1", executable = True, out = "out", visibility = ["PUBLIC"]) diff --git a/shim/third-party/rust/fixups/ahash/fixups.toml b/shim/third-party/rust/fixups/ahash/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/ahash/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/async-trait/fixups.toml b/shim/third-party/rust/fixups/async-trait/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/async-trait/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/atomic/fixups.toml b/shim/third-party/rust/fixups/atomic/fixups.toml deleted file mode 100644 index 5e026f75..00000000 --- a/shim/third-party/rust/fixups/atomic/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -[[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 deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/axum-core/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/axum/fixups.toml b/shim/third-party/rust/fixups/axum/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/axum/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/backtrace/fixups.toml b/shim/third-party/rust/fixups/backtrace/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/backtrace/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/blake3/fixups.toml b/shim/third-party/rust/fixups/blake3/fixups.toml deleted file mode 100644 index 389fd57a..00000000 --- a/shim/third-party/rust/fixups/blake3/fixups.toml +++ /dev/null @@ -1,81 +0,0 @@ -buildscript = [] - -## The various X86 platform fixups - -[platform_fixup.'cfg(target_arch = "x86_64")'] -cfgs = ["blake3_sse2_ffi", "blake3_sse41_ffi", "blake3_avx2_ffi", "blake3_avx512_ffi"] -buildscript = [] - -# , any(target_env = "fbcode", target_env = "gnu") -[[platform_fixup.'cfg(all(target_arch = "x86_64", any(target_os = "linux", target_os = "macos")))'.buildscript]] -[platform_fixup.'cfg(all(target_arch = "x86_64", any(target_os = "linux", target_os = "macos")))'.buildscript.cxx_library] -name = "simd_x86_unix" -srcs = [ - "c/blake3.c", - "c/blake3_dispatch.c", - "c/blake3_portable.c", - "c/blake3_sse2_x86-64_unix.S", - "c/blake3_sse41_x86-64_unix.S", - "c/blake3_avx2_x86-64_unix.S", - "c/blake3_avx512_x86-64_unix.S" -] -# Older versions of Clang require these flags, even for assembly. See -# https://github.com/BLAKE3-team/BLAKE3/issues/79. -compiler_flags = ["-mavx512f", "-mavx512vl"] -headers = ["c/*.h"] -compatible_with = [ - "prelude//os/constraints:linux", - "prelude//os/constraints:macos", -] - -[[platform_fixup.'cfg(all(target_arch = "x86_64", target_os = "windows", target_env = "gnu"))'.buildscript]] -[platform_fixup.'cfg(all(target_arch = "x86_64", target_os = "windows", target_env = "gnu"))'.buildscript.cxx_library] -name = "simd_x86_windows_gnu" -srcs = [ - "c/blake3.c", - "c/blake3_dispatch.c", - "c/blake3_portable.c", - "c/blake3_sse2_x86-64_windows_gnu.S", - "c/blake3_sse41_x86-64_windows_gnu.S", - "c/blake3_avx2_x86-64_windows_gnu.S", - "c/blake3_avx512_x86-64_windows_gnu.S" -] -# Older versions of Clang require these flags, even for assembly. See -# https://github.com/BLAKE3-team/BLAKE3/issues/79. -compiler_flags = ["-mavx512f", "-mavx512vl"] -headers = ["c/*.h"] -compatible_with = ["prelude//os/constraints:windows"] - -[[platform_fixup.'cfg(all(target_arch = "x86_64", target_os = "windows", target_env = "msvc"))'.buildscript]] -[platform_fixup.'cfg(all(target_arch = "x86_64", target_os = "windows", target_env = "msvc"))'.buildscript.cxx_library] -name = "simd_x86_windows_msvc" -srcs = [ - "c/blake3.c", - "c/blake3_dispatch.c", - "c/blake3_portable.c", - "c/blake3_sse2_x86-64_windows_msvc.asm", - "c/blake3_sse41_x86-64_windows_msvc.asm", - "c/blake3_avx2_x86-64_windows_msvc.asm", - "c/blake3_avx512_x86-64_windows_msvc.asm" -] -headers = ["c/*.h"] -compatible_with = ["prelude//os/constraints:windows"] - -## ARM and AArch64 fixups - -[platform_fixup.'cfg(any(target_arch = "aarch64", target_arch = "arm"))'] -cfgs = ["blake3_neon"] -buildscript = [] - -[[platform_fixup.'cfg(target_arch = "aarch64")'.buildscript]] -[platform_fixup.'cfg(target_arch = "aarch64")'.buildscript.cxx_library] -name = "simd_neon-aarch64" -srcs = ["c/blake3_neon.c"] -headers = ["c/*.h"] - -[[platform_fixup.'cfg(target_arch = "arm")'.buildscript]] -[platform_fixup.'cfg(target_arch = "arm")'.buildscript.cxx_library] -name = "simd_neon-armv7" -srcs = ["c/blake3_neon.c"] -compiler_flags = ["-mfpu=neon-vfpv4", "-mfloat-abi=hard"] -headers = ["c/*.h"] diff --git a/shim/third-party/rust/fixups/bzip2-sys/fixups.toml b/shim/third-party/rust/fixups/bzip2-sys/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/bzip2-sys/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/core-foundation-sys/fixups.toml b/shim/third-party/rust/fixups/core-foundation-sys/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/core-foundation-sys/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/crc32fast/fixups.toml b/shim/third-party/rust/fixups/crc32fast/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/crc32fast/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/criterion/fixups.toml b/shim/third-party/rust/fixups/criterion/fixups.toml deleted file mode 100644 index 41439d33..00000000 --- a/shim/third-party/rust/fixups/criterion/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 35109284..00000000 --- a/shim/third-party/rust/fixups/crossbeam-queue/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -buildscript = [] -cargo_env = true diff --git a/shim/third-party/rust/fixups/crunchy/fixups.toml b/shim/third-party/rust/fixups/crunchy/fixups.toml deleted file mode 100644 index ac9ebfb4..00000000 --- a/shim/third-party/rust/fixups/crunchy/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -[[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 deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/darwin-libproc-sys/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/debugserver-types/fixups.toml b/shim/third-party/rust/fixups/debugserver-types/fixups.toml deleted file mode 100644 index 50645274..00000000 --- a/shim/third-party/rust/fixups/debugserver-types/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -extra_srcs = ["src/schema.json"] -cargo_env = true diff --git a/shim/third-party/rust/fixups/erased-serde/fixups.toml b/shim/third-party/rust/fixups/erased-serde/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/erased-serde/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/fs4/fixups.toml b/shim/third-party/rust/fixups/fs4/fixups.toml deleted file mode 100644 index af7edb27..00000000 --- a/shim/third-party/rust/fixups/fs4/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 35109284..00000000 --- a/shim/third-party/rust/fixups/futures-channel/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -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 deleted file mode 100644 index 35109284..00000000 --- a/shim/third-party/rust/fixups/futures-core/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -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 deleted file mode 100644 index 35109284..00000000 --- a/shim/third-party/rust/fixups/futures-task/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -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 deleted file mode 100644 index 35109284..00000000 --- a/shim/third-party/rust/fixups/futures-util/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -buildscript = [] -cargo_env = true diff --git a/shim/third-party/rust/fixups/getrandom/fixups.toml b/shim/third-party/rust/fixups/getrandom/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/getrandom/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/httparse/fixups.toml b/shim/third-party/rust/fixups/httparse/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/httparse/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/hyper/fixups.toml b/shim/third-party/rust/fixups/hyper/fixups.toml deleted file mode 100644 index 9118e9de..00000000 --- a/shim/third-party/rust/fixups/hyper/fixups.toml +++ /dev/null @@ -1,5 +0,0 @@ -# reindeer cannot see through `cfg_proto!` macros and the like -extra_srcs = ["src/**/*.rs"] - -[[buildscript]] -[buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/jemalloc-sys/fixups.toml b/shim/third-party/rust/fixups/jemalloc-sys/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/jemalloc-sys/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/lalrpop/fixups.toml b/shim/third-party/rust/fixups/lalrpop/fixups.toml deleted file mode 100644 index 41439d33..00000000 --- a/shim/third-party/rust/fixups/lalrpop/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 5e026f75..00000000 --- a/shim/third-party/rust/fixups/lexical-core/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -[[buildscript]] -[buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/libm/fixups.toml b/shim/third-party/rust/fixups/libm/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/libm/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/libsqlite3-sys/fixups.toml b/shim/third-party/rust/fixups/libsqlite3-sys/fixups.toml deleted file mode 100644 index b82bb848..00000000 --- a/shim/third-party/rust/fixups/libsqlite3-sys/fixups.toml +++ /dev/null @@ -1,19 +0,0 @@ -# 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. - -extra_mapped_srcs = {"sqlite3/bindgen_bundled_version.rs" = "src/bindgen.rs"} - -[env] -OUT_DIR = "." - -[[buildscript]] -[buildscript.cxx_library] -name = "sqlite3" -srcs = ["sqlite3/sqlite3.c"] -headers = ["sqlite3/*.h"] -preprocessor_flags = [ - "-DSQLITE_ENABLE_COLUMN_METADATA", - "-DSQLITE_ENABLE_FTS3", - "-DSQLITE_ENABLE_RTREE", -] diff --git a/shim/third-party/rust/fixups/lock_api/fixups.toml b/shim/third-party/rust/fixups/lock_api/fixups.toml deleted file mode 100644 index 6c1a3d45..00000000 --- a/shim/third-party/rust/fixups/lock_api/fixups.toml +++ /dev/null @@ -1,3 +0,0 @@ -# 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 deleted file mode 100644 index 5e026f75..00000000 --- a/shim/third-party/rust/fixups/log/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -[[buildscript]] -[buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/mio/fixups.toml b/shim/third-party/rust/fixups/mio/fixups.toml deleted file mode 100644 index af7edb27..00000000 --- a/shim/third-party/rust/fixups/mio/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/native-tls/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/nix/fixups.toml b/shim/third-party/rust/fixups/nix/fixups.toml deleted file mode 100644 index 1849ea06..00000000 --- a/shim/third-party/rust/fixups/nix/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -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 deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/nom/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/ntapi/fixups.toml b/shim/third-party/rust/fixups/ntapi/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/ntapi/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/num-bigint/fixups.toml b/shim/third-party/rust/fixups/num-bigint/fixups.toml deleted file mode 100644 index df0b424f..00000000 --- a/shim/third-party/rust/fixups/num-bigint/fixups.toml +++ /dev/null @@ -1,5 +0,0 @@ -[[buildscript]] -[buildscript.rustc_flags] - -[[buildscript]] -[buildscript.gen_srcs] diff --git a/shim/third-party/rust/fixups/num-integer/fixups.toml b/shim/third-party/rust/fixups/num-integer/fixups.toml deleted file mode 100644 index 5e026f75..00000000 --- a/shim/third-party/rust/fixups/num-integer/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -[[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 deleted file mode 100644 index 5e026f75..00000000 --- a/shim/third-party/rust/fixups/num-traits/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -[[buildscript]] -[buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/parking_lot/fixups.toml b/shim/third-party/rust/fixups/parking_lot/fixups.toml deleted file mode 100644 index 5e026f75..00000000 --- a/shim/third-party/rust/fixups/parking_lot/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -[[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 deleted file mode 100644 index 5e026f75..00000000 --- a/shim/third-party/rust/fixups/parking_lot_core/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -[[buildscript]] -[buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/paste/fixups.toml b/shim/third-party/rust/fixups/paste/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/paste/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/pest/fixups.toml b/shim/third-party/rust/fixups/pest/fixups.toml deleted file mode 100644 index af7edb27..00000000 --- a/shim/third-party/rust/fixups/pest/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/pin-project-internal/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/platforms/fixups.toml b/shim/third-party/rust/fixups/platforms/fixups.toml deleted file mode 100644 index e086791c..00000000 --- a/shim/third-party/rust/fixups/platforms/fixups.toml +++ /dev/null @@ -1,26 +0,0 @@ -# Buildscript sets TARGET in environment -buildscript = [] - -[platform_fixup.'cfg(all(target_os = "linux", target_arch = "aarch64"))'] -env = { TARGET = "aarch64-unknown-linux-gnu" } -buildscript = [] - -[platform_fixup.'cfg(all(target_os = "linux", target_arch = "x86_64"))'] -env = { TARGET = "x86_64-unknown-linux-gnu" } -buildscript = [] - -[platform_fixup.'cfg(all(target_os = "macos", target_arch = "aarch64"))'] -env = { TARGET = "aarch64-apple-darwin" } -buildscript = [] - -[platform_fixup.'cfg(all(target_os = "macos", target_arch = "x86_64"))'] -env = { TARGET = "x86_64-apple-darwin" } -buildscript = [] - -[platform_fixup.'cfg(all(target_os = "windows", target_env = "gnu"))'] -env = { TARGET = "x86_64-pc-windows-gnu" } -buildscript = [] - -[platform_fixup.'cfg(all(target_os = "windows", target_env = "msvc"))'] -env = { TARGET = "x86_64-pc-windows-msvc" } -buildscript = [] diff --git a/shim/third-party/rust/fixups/prettyplease/fixups.toml b/shim/third-party/rust/fixups/prettyplease/fixups.toml deleted file mode 100644 index 35109284..00000000 --- a/shim/third-party/rust/fixups/prettyplease/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -buildscript = [] -cargo_env = true diff --git a/shim/third-party/rust/fixups/proc-macro-hack/fixups.toml b/shim/third-party/rust/fixups/proc-macro-hack/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/proc-macro-hack/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/prost-build/fixups.toml b/shim/third-party/rust/fixups/prost-build/fixups.toml deleted file mode 100644 index 5865e690..00000000 --- a/shim/third-party/rust/fixups/prost-build/fixups.toml +++ /dev/null @@ -1,7 +0,0 @@ -buildscript = [] - -# These are here because the crate uses the env! macro -# We override them at runtime. -[env] -PROTOC = "" -PROTOC_INCLUDE = "" diff --git a/shim/third-party/rust/fixups/pulldown-cmark/fixups.toml b/shim/third-party/rust/fixups/pulldown-cmark/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/pulldown-cmark/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/radium/fixups.toml b/shim/third-party/rust/fixups/radium/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/radium/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/ref-cast/fixups.toml b/shim/third-party/rust/fixups/ref-cast/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/ref-cast/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/reqwest/fixups.toml b/shim/third-party/rust/fixups/reqwest/fixups.toml deleted file mode 100644 index af7edb27..00000000 --- a/shim/third-party/rust/fixups/reqwest/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -extra_srcs = ["src/**/*.rs"] diff --git a/shim/third-party/rust/fixups/ring/fixups.toml b/shim/third-party/rust/fixups/ring/fixups.toml deleted file mode 100644 index d2c83589..00000000 --- a/shim/third-party/rust/fixups/ring/fixups.toml +++ /dev/null @@ -1,162 +0,0 @@ -# Copied from fbsource fixup. - -buildscript = [] - -# Generate a C/C++ build rule for all the C code - -[[platform_fixup.'cfg(all(target_arch = "x86_64", target_os = "linux"))'.buildscript]] -[platform_fixup.'cfg(all(target_arch = "x86_64", target_os = "linux"))'.buildscript.cxx_library] -name = "ring-c-asm-elf-x86_84" -srcs = [ "crypto/**/*.c", "pregenerated/*x86_64*-elf.S" ] -headers = [ "include/**/*.h", "crypto/**/*.h", "third_party/**/*.h", "crypto/**/*.inl" ] -# Exclude C AES because we've got the x86_64 one -exclude = [ "crypto/fipsmodule/aes/aes.c" ] -include_paths = ["include"] -compiler_flags = ["-Wno-error"] - -# redundant `any` is needed to differentiate key for config specific to v0.17.5 version -[platform_fixup.'cfg(any(all(target_arch = "x86_64", target_os = "linux")))'] -version = "=0.17.5" -[platform_fixup.'cfg(any(all(target_arch = "x86_64", target_os = "linux")))'.env] -RING_CORE_PREFIX = "ring_core_0_17_5_" -[[platform_fixup.'cfg(any(all(target_arch = "x86_64", target_os = "linux")))'.buildscript]] -[platform_fixup.'cfg(any(all(target_arch = "x86_64", target_os = "linux")))'.buildscript.cxx_library] -name = "ring-c-asm-elf-x86_84" -srcs = [ "crypto/**/*.c", "pregenerated/*x86_64*-elf.S", "third_party/fiat/asm/fiat_curve25519_adx_mul.S", "third_party/fiat/asm/fiat_curve25519_adx_square.S" ] -headers = [ "include/**/*.h", "crypto/**/*.h", "third_party/**/*.h", "crypto/**/*.inl" ] -# Exclude C AES because we've got the x86_64 one -exclude = [ "crypto/fipsmodule/aes/aes.c" ] -include_paths = ["include"] -compiler_flags = ["-Wno-error"] -fixup_include_paths = ["include"] - -[[platform_fixup.'cfg(all(target_arch = "aarch64", target_os = "linux"))'.buildscript]] -[platform_fixup.'cfg(all(target_arch = "aarch64", target_os = "linux"))'.buildscript.cxx_library] -name = "ring-c-asm-elf-aarch64" -srcs = [ "crypto/**/*.c", "pregenerated/*armv8*-linux64.S", "pregenerated/*armx*-linux64.S" ] -headers = [ "include/**/*.h", "crypto/**/*.h", "third_party/**/*.h", "crypto/**/*.inl" ] -exclude = [ "crypto/cpu-intel.c" ] -include_paths = ["include"] -compiler_flags = ["-Wno-error"] - -[platform_fixup.'cfg(any(all(target_arch = "aarch64", target_os = "linux")))'] -version = "=0.17.5" -[platform_fixup.'cfg(any(all(target_arch = "aarch64", target_os = "linux")))'.env] -RING_CORE_PREFIX = "ring_core_0_17_5_" -[[platform_fixup.'cfg(any(all(target_arch = "aarch64", target_os = "linux")))'.buildscript]] -[platform_fixup.'cfg(any(all(target_arch = "aarch64", target_os = "linux")))'.buildscript.cxx_library] -name = "ring-c-asm-elf-aarch64" -srcs = [ "crypto/**/*.c", "pregenerated/*armv8*-linux64.S", "pregenerated/*armx*-linux64.S" ] -headers = [ "include/**/*.h", "crypto/**/*.h", "third_party/**/*.h", "crypto/**/*.inl" ] -exclude = [ "crypto/cpu-intel.c" ] -include_paths = ["include"] -compiler_flags = ["-Wno-error"] -fixup_include_paths = ["include"] - -[[platform_fixup.'cfg(all(target_arch = "x86_64", target_os = "macos"))'.buildscript]] -[platform_fixup.'cfg(all(target_arch = "x86_64", target_os = "macos"))'.buildscript.cxx_library] -name = "ring-c-asm-macos-x86_64" -srcs = [ "crypto/**/*.c", "pregenerated/*x86_64*-macosx.S" ] -headers = [ "include/**/*.h", "crypto/**/*.h", "third_party/**/*.h", "crypto/**/*.inl" ] -# Exclude C AES because we've got the x86_64 one -exclude = [ "crypto/fipsmodule/aes/aes.c" ] -include_paths = ["include"] -compiler_flags = ["-Wno-error"] - -[platform_fixup.'cfg(any(all(target_arch = "x86_64", target_os = "macos")))'] -version = "=0.17.5" -[platform_fixup.'cfg(any(all(target_arch = "x86_64", target_os = "macos")))'.env] -RING_CORE_PREFIX = "ring_core_0_17_5_" -[[platform_fixup.'cfg(any(all(target_arch = "x86_64", target_os = "macos")))'.buildscript]] -[platform_fixup.'cfg(any(all(target_arch = "x86_64", target_os = "macos")))'.buildscript.cxx_library] -name = "ring-c-asm-macos-x86_64" -srcs = [ "crypto/**/*.c", "pregenerated/*x86_64*-macosx.S", "third_party/fiat/asm/fiat_curve25519_adx_mul.S", "third_party/fiat/asm/fiat_curve25519_adx_square.S" ] -headers = [ "include/**/*.h", "crypto/**/*.h", "third_party/**/*.h", "crypto/**/*.inl" ] -# Exclude C AES because we've got the x86_64 one -exclude = [ "crypto/fipsmodule/aes/aes.c" ] -include_paths = ["include"] -compiler_flags = ["-Wno-error"] -fixup_include_paths = ["include"] - -[[platform_fixup.'cfg(all(target_arch = "aarch64", target_os = "macos"))'.buildscript]] -[platform_fixup.'cfg(all(target_arch = "aarch64", target_os = "macos"))'.buildscript.cxx_library] -name = "ring-c-asm-macos-arm64" -srcs = [ "crypto/**/*.c", "pregenerated/*armv8*-ios64.S", "pregenerated/*armx*-ios64.S" ] -headers = [ "include/**/*.h", "crypto/**/*.h", "third_party/**/*.h", "crypto/**/*.inl" ] -exclude = [ "crypto/cpu-intel.c" ] -include_paths = ["include"] -compiler_flags = ["-Wno-error"] - -[platform_fixup.'cfg(any(all(target_arch = "aarch64", target_os = "macos")))'] -version = "=0.17.5" -[platform_fixup.'cfg(any(all(target_arch = "aarch64", target_os = "macos")))'.env] -RING_CORE_PREFIX = "ring_core_0_17_5_" -[[platform_fixup.'cfg(any(all(target_arch = "aarch64", target_os = "macos")))'.buildscript]] -[platform_fixup.'cfg(any(all(target_arch = "aarch64", target_os = "macos")))'.buildscript.cxx_library] -name = "ring-c-asm-macos-arm64" -srcs = [ "crypto/**/*.c", "pregenerated/*armv8*-ios64.S", "pregenerated/*armx*-ios64.S" ] -headers = [ "include/**/*.h", "crypto/**/*.h", "third_party/**/*.h", "crypto/**/*.inl" ] -exclude = [ "crypto/cpu-intel.c" ] -include_paths = ["include"] -compiler_flags = ["-Wno-error"] -fixup_include_paths = ["include"] - -[[platform_fixup.'cfg(all(target_arch = "x86_64", target_os = "windows", target_env = "gnu"))'.buildscript]] -[platform_fixup.'cfg(all(target_arch = "x86_64", target_os = "windows", target_env = "gnu"))'.buildscript.cxx_library] -name = "ring-c-win-x86_84" -srcs = [ "crypto/**/*.c" ] -headers = [ "include/**/*.h", "crypto/**/*.h", "third_party/**/*.h", "crypto/**/*.inl" ] -# Exclude C AES because we've got the x86_64 one -exclude = [ "crypto/fipsmodule/aes/aes.c" ] -include_paths = ["include"] -compiler_flags = ["-Wno-error"] - -[platform_fixup.'cfg(any(all(target_arch = "x86_64", target_os = "windows", target_env = "gnu")))'] -version = "=0.17.5" -[platform_fixup.'cfg(any(all(target_arch = "x86_64", target_os = "windows", target_env = "gnu")))'.env] -RING_CORE_PREFIX = "ring_core_0_17_5_" -[[platform_fixup.'cfg(any(all(target_arch = "x86_64", target_os = "windows", target_env = "gnu")))'.buildscript]] -[platform_fixup.'cfg(any(all(target_arch = "x86_64", target_os = "windows", target_env = "gnu")))'.buildscript.cxx_library] -name = "ring-c-win-x86_84" -srcs = [ "crypto/**/*.c" ] -headers = [ "include/**/*.h", "crypto/**/*.h", "third_party/**/*.h", "crypto/**/*.inl" ] -# Exclude C AES because we've got the x86_64 one -exclude = [ "crypto/fipsmodule/aes/aes.c" ] -include_paths = ["include"] -compiler_flags = ["-Wno-error"] -fixup_include_paths = ["include"] - -[[platform_fixup.'cfg(all(target_arch = "x86_64", target_os = "windows", target_env = "msvc"))'.buildscript]] -[platform_fixup.'cfg(all(target_arch = "x86_64", target_os = "windows", target_env = "msvc"))'.buildscript.cxx_library] -name = "ring-c-win-msvc-x86_84" -srcs = [ "crypto/**/*.c" ] -headers = [ "include/**/*.h", "crypto/**/*.h", "third_party/**/*.h", "crypto/**/*.inl" ] -# Exclude C AES because we've got the x86_64 one -exclude = [ "crypto/fipsmodule/aes/aes.c" ] -include_paths = ["include"] - -[platform_fixup.'cfg(any(all(target_arch = "x86_64", target_os = "windows", target_env = "msvc")))'] -version = "=0.17.5" -[platform_fixup.'cfg(any(all(target_arch = "x86_64", target_os = "windows", target_env = "msvc")))'.env] -RING_CORE_PREFIX = "ring_core_0_17_5_" -[[platform_fixup.'cfg(any(all(target_arch = "x86_64", target_os = "windows", target_env = "msvc")))'.buildscript]] -[platform_fixup.'cfg(any(all(target_arch = "x86_64", target_os = "windows", target_env = "msvc")))'.buildscript.cxx_library] -name = "ring-c-win-msvc-x86_84" -srcs = [ "crypto/**/*.c" ] -headers = [ "include/**/*.h", "crypto/**/*.h", "third_party/**/*.h", "crypto/**/*.inl" ] -# Exclude C AES because we've got the x86_64 one -exclude = [ "crypto/fipsmodule/aes/aes.c" ] -include_paths = ["include"] -fixup_include_paths = ["include"] - -[[platform_fixup.'cfg(all(target_arch = "x86_64", target_os = "windows"))'.buildscript]] -[platform_fixup.'cfg(all(target_arch = "x86_64", target_os = "windows"))'.buildscript.prebuilt_cxx_library] -name = "ring-asm-windows-x86_84" -static_libs = [ "pregenerated/*x86_64*-nasm.obj" ] - -[platform_fixup.'cfg(any(all(target_arch = "x86_64", target_os = "windows")))'] -version = "=0.17.5" -[[platform_fixup.'cfg(any(all(target_arch = "x86_64", target_os = "windows")))'.buildscript]] -[platform_fixup.'cfg(any(all(target_arch = "x86_64", target_os = "windows")))'.buildscript.prebuilt_cxx_library] -name = "ring-asm-windows-x86_84" -static_libs = [ "pregenerated/*x86_64*-nasm.o" ] diff --git a/shim/third-party/rust/fixups/ring/include/ring_core_generated/prefix_symbols.h b/shim/third-party/rust/fixups/ring/include/ring_core_generated/prefix_symbols.h deleted file mode 100644 index 9ee40055..00000000 --- a/shim/third-party/rust/fixups/ring/include/ring_core_generated/prefix_symbols.h +++ /dev/null @@ -1,119 +0,0 @@ - -#ifndef ring_core_generated_PREFIX_SYMBOLS_H -#define ring_core_generated_PREFIX_SYMBOLS_H - -#define ecp_nistz256_point_double p256_point_double -#define ecp_nistz256_point_add p256_point_add -#define ecp_nistz256_point_add_affine p256_point_add_affine -#define ecp_nistz256_ord_mul_mont p256_scalar_mul_mont -#define ecp_nistz256_ord_sqr_mont p256_scalar_sqr_rep_mont -#define ecp_nistz256_mul_mont p256_mul_mont -#define ecp_nistz256_sqr_mont p256_sqr_mont -#define CRYPTO_memcmp ring_core_0_17_5_CRYPTO_memcmp -#define CRYPTO_poly1305_finish ring_core_0_17_5_CRYPTO_poly1305_finish -#define CRYPTO_poly1305_finish_neon ring_core_0_17_5_CRYPTO_poly1305_finish_neon -#define CRYPTO_poly1305_init ring_core_0_17_5_CRYPTO_poly1305_init -#define CRYPTO_poly1305_init_neon ring_core_0_17_5_CRYPTO_poly1305_init_neon -#define CRYPTO_poly1305_update ring_core_0_17_5_CRYPTO_poly1305_update -#define CRYPTO_poly1305_update_neon ring_core_0_17_5_CRYPTO_poly1305_update_neon -#define ChaCha20_ctr32 ring_core_0_17_5_ChaCha20_ctr32 -#define LIMBS_add_mod ring_core_0_17_5_LIMBS_add_mod -#define LIMBS_are_even ring_core_0_17_5_LIMBS_are_even -#define LIMBS_are_zero ring_core_0_17_5_LIMBS_are_zero -#define LIMBS_equal ring_core_0_17_5_LIMBS_equal -#define LIMBS_equal_limb ring_core_0_17_5_LIMBS_equal_limb -#define LIMBS_less_than ring_core_0_17_5_LIMBS_less_than -#define LIMBS_less_than_limb ring_core_0_17_5_LIMBS_less_than_limb -#define LIMBS_reduce_once ring_core_0_17_5_LIMBS_reduce_once -#define LIMBS_select_512_32 ring_core_0_17_5_LIMBS_select_512_32 -#define LIMBS_shl_mod ring_core_0_17_5_LIMBS_shl_mod -#define LIMBS_sub_mod ring_core_0_17_5_LIMBS_sub_mod -#define LIMBS_window5_split_window ring_core_0_17_5_LIMBS_window5_split_window -#define LIMBS_window5_unsplit_window ring_core_0_17_5_LIMBS_window5_unsplit_window -#define LIMB_shr ring_core_0_17_5_LIMB_shr -#define OPENSSL_armcap_P ring_core_0_17_5_OPENSSL_armcap_P -#define OPENSSL_cpuid_setup ring_core_0_17_5_OPENSSL_cpuid_setup -#define OPENSSL_ia32cap_P ring_core_0_17_5_OPENSSL_ia32cap_P -#define aes_hw_ctr32_encrypt_blocks ring_core_0_17_5_aes_hw_ctr32_encrypt_blocks -#define aes_hw_encrypt ring_core_0_17_5_aes_hw_encrypt -#define aes_hw_set_encrypt_key ring_core_0_17_5_aes_hw_set_encrypt_key -#define aes_nohw_ctr32_encrypt_blocks ring_core_0_17_5_aes_nohw_ctr32_encrypt_blocks -#define aes_nohw_encrypt ring_core_0_17_5_aes_nohw_encrypt -#define aes_nohw_set_encrypt_key ring_core_0_17_5_aes_nohw_set_encrypt_key -#define aesni_gcm_decrypt ring_core_0_17_5_aesni_gcm_decrypt -#define aesni_gcm_encrypt ring_core_0_17_5_aesni_gcm_encrypt -#define bn_from_montgomery_in_place ring_core_0_17_5_bn_from_montgomery_in_place -#define bn_gather5 ring_core_0_17_5_bn_gather5 -#define bn_mul_mont ring_core_0_17_5_bn_mul_mont -#define bn_mul_mont_gather5 ring_core_0_17_5_bn_mul_mont_gather5 -#define bn_neg_inv_mod_r_u64 ring_core_0_17_5_bn_neg_inv_mod_r_u64 -#define bn_power5 ring_core_0_17_5_bn_power5 -#define bn_scatter5 ring_core_0_17_5_bn_scatter5 -#define bn_sqr8x_internal ring_core_0_17_5_bn_sqr8x_internal -#define bn_sqrx8x_internal ring_core_0_17_5_bn_sqrx8x_internal -#define bsaes_ctr32_encrypt_blocks ring_core_0_17_5_bsaes_ctr32_encrypt_blocks -#define bssl_constant_time_test_conditional_memcpy ring_core_0_17_5_bssl_constant_time_test_conditional_memcpy -#define bssl_constant_time_test_conditional_memxor ring_core_0_17_5_bssl_constant_time_test_conditional_memxor -#define bssl_constant_time_test_main ring_core_0_17_5_bssl_constant_time_test_main -#define chacha20_poly1305_open ring_core_0_17_5_chacha20_poly1305_open -#define chacha20_poly1305_seal ring_core_0_17_5_chacha20_poly1305_seal -#define fiat_curve25519_adx_mul ring_core_0_17_5_fiat_curve25519_adx_mul -#define fiat_curve25519_adx_square ring_core_0_17_5_fiat_curve25519_adx_square -#define gcm_ghash_avx ring_core_0_17_5_gcm_ghash_avx -#define gcm_ghash_clmul ring_core_0_17_5_gcm_ghash_clmul -#define gcm_ghash_neon ring_core_0_17_5_gcm_ghash_neon -#define gcm_gmult_clmul ring_core_0_17_5_gcm_gmult_clmul -#define gcm_gmult_neon ring_core_0_17_5_gcm_gmult_neon -#define gcm_init_avx ring_core_0_17_5_gcm_init_avx -#define gcm_init_clmul ring_core_0_17_5_gcm_init_clmul -#define gcm_init_neon ring_core_0_17_5_gcm_init_neon -#define k25519Precomp ring_core_0_17_5_k25519Precomp -#define limbs_mul_add_limb ring_core_0_17_5_limbs_mul_add_limb -#define little_endian_bytes_from_scalar ring_core_0_17_5_little_endian_bytes_from_scalar -#define ecp_nistz256_neg ring_core_0_17_5_ecp_nistz256_neg -#define ecp_nistz256_select_w5 ring_core_0_17_5_ecp_nistz256_select_w5 -#define ecp_nistz256_select_w7 ring_core_0_17_5_ecp_nistz256_select_w7 -#define p256_mul_mont ring_core_0_17_5_p256_mul_mont -#define p256_point_add ring_core_0_17_5_p256_point_add -#define p256_point_add_affine ring_core_0_17_5_p256_point_add_affine -#define p256_point_double ring_core_0_17_5_p256_point_double -#define p256_point_mul ring_core_0_17_5_p256_point_mul -#define p256_point_mul_base ring_core_0_17_5_p256_point_mul_base -#define p256_point_mul_base_vartime ring_core_0_17_5_p256_point_mul_base_vartime -#define p256_scalar_mul_mont ring_core_0_17_5_p256_scalar_mul_mont -#define p256_scalar_sqr_rep_mont ring_core_0_17_5_p256_scalar_sqr_rep_mont -#define p256_sqr_mont ring_core_0_17_5_p256_sqr_mont -#define p384_elem_div_by_2 ring_core_0_17_5_p384_elem_div_by_2 -#define p384_elem_mul_mont ring_core_0_17_5_p384_elem_mul_mont -#define p384_elem_neg ring_core_0_17_5_p384_elem_neg -#define p384_elem_sub ring_core_0_17_5_p384_elem_sub -#define p384_point_add ring_core_0_17_5_p384_point_add -#define p384_point_double ring_core_0_17_5_p384_point_double -#define p384_point_mul ring_core_0_17_5_p384_point_mul -#define p384_scalar_mul_mont ring_core_0_17_5_p384_scalar_mul_mont -#define openssl_poly1305_neon2_addmulmod ring_core_0_17_5_openssl_poly1305_neon2_addmulmod -#define openssl_poly1305_neon2_blocks ring_core_0_17_5_openssl_poly1305_neon2_blocks -#define sha256_block_data_order ring_core_0_17_5_sha256_block_data_order -#define sha512_block_data_order ring_core_0_17_5_sha512_block_data_order -#define vpaes_ctr32_encrypt_blocks ring_core_0_17_5_vpaes_ctr32_encrypt_blocks -#define vpaes_encrypt ring_core_0_17_5_vpaes_encrypt -#define vpaes_encrypt_key_to_bsaes ring_core_0_17_5_vpaes_encrypt_key_to_bsaes -#define vpaes_set_encrypt_key ring_core_0_17_5_vpaes_set_encrypt_key -#define x25519_NEON ring_core_0_17_5_x25519_NEON -#define x25519_fe_invert ring_core_0_17_5_x25519_fe_invert -#define x25519_fe_isnegative ring_core_0_17_5_x25519_fe_isnegative -#define x25519_fe_mul_ttt ring_core_0_17_5_x25519_fe_mul_ttt -#define x25519_fe_neg ring_core_0_17_5_x25519_fe_neg -#define x25519_fe_tobytes ring_core_0_17_5_x25519_fe_tobytes -#define x25519_ge_double_scalarmult_vartime ring_core_0_17_5_x25519_ge_double_scalarmult_vartime -#define x25519_ge_frombytes_vartime ring_core_0_17_5_x25519_ge_frombytes_vartime -#define x25519_ge_scalarmult_base ring_core_0_17_5_x25519_ge_scalarmult_base -#define x25519_ge_scalarmult_base_adx ring_core_0_17_5_x25519_ge_scalarmult_base_adx -#define x25519_public_from_private_generic_masked ring_core_0_17_5_x25519_public_from_private_generic_masked -#define x25519_sc_mask ring_core_0_17_5_x25519_sc_mask -#define x25519_sc_muladd ring_core_0_17_5_x25519_sc_muladd -#define x25519_sc_reduce ring_core_0_17_5_x25519_sc_reduce -#define x25519_scalar_mult_adx ring_core_0_17_5_x25519_scalar_mult_adx -#define x25519_scalar_mult_generic_masked ring_core_0_17_5_x25519_scalar_mult_generic_masked - -#endif diff --git a/shim/third-party/rust/fixups/ring/include/ring_core_generated/prefix_symbols_asm.h b/shim/third-party/rust/fixups/ring/include/ring_core_generated/prefix_symbols_asm.h deleted file mode 100644 index 84e48709..00000000 --- a/shim/third-party/rust/fixups/ring/include/ring_core_generated/prefix_symbols_asm.h +++ /dev/null @@ -1,236 +0,0 @@ - -#ifndef ring_core_generated_PREFIX_SYMBOLS_ASM_H -#define ring_core_generated_PREFIX_SYMBOLS_ASM_H - -#if defined(__APPLE__) -#define _ecp_nistz256_point_double _p256_point_double -#define _ecp_nistz256_point_add _p256_point_add -#define _ecp_nistz256_point_add_affine _p256_point_add_affine -#define _ecp_nistz256_ord_mul_mont _p256_scalar_mul_mont -#define _ecp_nistz256_ord_sqr_mont _p256_scalar_sqr_rep_mont -#define _ecp_nistz256_mul_mont _p256_mul_mont -#define _ecp_nistz256_sqr_mont _p256_sqr_mont -#define _CRYPTO_memcmp _ring_core_0_17_5_CRYPTO_memcmp -#define _CRYPTO_poly1305_finish _ring_core_0_17_5_CRYPTO_poly1305_finish -#define _CRYPTO_poly1305_finish_neon _ring_core_0_17_5_CRYPTO_poly1305_finish_neon -#define _CRYPTO_poly1305_init _ring_core_0_17_5_CRYPTO_poly1305_init -#define _CRYPTO_poly1305_init_neon _ring_core_0_17_5_CRYPTO_poly1305_init_neon -#define _CRYPTO_poly1305_update _ring_core_0_17_5_CRYPTO_poly1305_update -#define _CRYPTO_poly1305_update_neon _ring_core_0_17_5_CRYPTO_poly1305_update_neon -#define _ChaCha20_ctr32 _ring_core_0_17_5_ChaCha20_ctr32 -#define _LIMBS_add_mod _ring_core_0_17_5_LIMBS_add_mod -#define _LIMBS_are_even _ring_core_0_17_5_LIMBS_are_even -#define _LIMBS_are_zero _ring_core_0_17_5_LIMBS_are_zero -#define _LIMBS_equal _ring_core_0_17_5_LIMBS_equal -#define _LIMBS_equal_limb _ring_core_0_17_5_LIMBS_equal_limb -#define _LIMBS_less_than _ring_core_0_17_5_LIMBS_less_than -#define _LIMBS_less_than_limb _ring_core_0_17_5_LIMBS_less_than_limb -#define _LIMBS_reduce_once _ring_core_0_17_5_LIMBS_reduce_once -#define _LIMBS_select_512_32 _ring_core_0_17_5_LIMBS_select_512_32 -#define _LIMBS_shl_mod _ring_core_0_17_5_LIMBS_shl_mod -#define _LIMBS_sub_mod _ring_core_0_17_5_LIMBS_sub_mod -#define _LIMBS_window5_split_window _ring_core_0_17_5_LIMBS_window5_split_window -#define _LIMBS_window5_unsplit_window _ring_core_0_17_5_LIMBS_window5_unsplit_window -#define _LIMB_shr _ring_core_0_17_5_LIMB_shr -#define _OPENSSL_armcap_P _ring_core_0_17_5_OPENSSL_armcap_P -#define _OPENSSL_cpuid_setup _ring_core_0_17_5_OPENSSL_cpuid_setup -#define _OPENSSL_ia32cap_P _ring_core_0_17_5_OPENSSL_ia32cap_P -#define _aes_hw_ctr32_encrypt_blocks _ring_core_0_17_5_aes_hw_ctr32_encrypt_blocks -#define _aes_hw_encrypt _ring_core_0_17_5_aes_hw_encrypt -#define _aes_hw_set_encrypt_key _ring_core_0_17_5_aes_hw_set_encrypt_key -#define _aes_nohw_ctr32_encrypt_blocks _ring_core_0_17_5_aes_nohw_ctr32_encrypt_blocks -#define _aes_nohw_encrypt _ring_core_0_17_5_aes_nohw_encrypt -#define _aes_nohw_set_encrypt_key _ring_core_0_17_5_aes_nohw_set_encrypt_key -#define _aesni_gcm_decrypt _ring_core_0_17_5_aesni_gcm_decrypt -#define _aesni_gcm_encrypt _ring_core_0_17_5_aesni_gcm_encrypt -#define _bn_from_montgomery_in_place _ring_core_0_17_5_bn_from_montgomery_in_place -#define _bn_gather5 _ring_core_0_17_5_bn_gather5 -#define _bn_mul_mont _ring_core_0_17_5_bn_mul_mont -#define _bn_mul_mont_gather5 _ring_core_0_17_5_bn_mul_mont_gather5 -#define _bn_neg_inv_mod_r_u64 _ring_core_0_17_5_bn_neg_inv_mod_r_u64 -#define _bn_power5 _ring_core_0_17_5_bn_power5 -#define _bn_scatter5 _ring_core_0_17_5_bn_scatter5 -#define _bn_sqr8x_internal _ring_core_0_17_5_bn_sqr8x_internal -#define _bn_sqrx8x_internal _ring_core_0_17_5_bn_sqrx8x_internal -#define _bsaes_ctr32_encrypt_blocks _ring_core_0_17_5_bsaes_ctr32_encrypt_blocks -#define _bssl_constant_time_test_conditional_memcpy _ring_core_0_17_5_bssl_constant_time_test_conditional_memcpy -#define _bssl_constant_time_test_conditional_memxor _ring_core_0_17_5_bssl_constant_time_test_conditional_memxor -#define _bssl_constant_time_test_main _ring_core_0_17_5_bssl_constant_time_test_main -#define _chacha20_poly1305_open _ring_core_0_17_5_chacha20_poly1305_open -#define _chacha20_poly1305_seal _ring_core_0_17_5_chacha20_poly1305_seal -#define _fiat_curve25519_adx_mul _ring_core_0_17_5_fiat_curve25519_adx_mul -#define _fiat_curve25519_adx_square _ring_core_0_17_5_fiat_curve25519_adx_square -#define _gcm_ghash_avx _ring_core_0_17_5_gcm_ghash_avx -#define _gcm_ghash_clmul _ring_core_0_17_5_gcm_ghash_clmul -#define _gcm_ghash_neon _ring_core_0_17_5_gcm_ghash_neon -#define _gcm_gmult_clmul _ring_core_0_17_5_gcm_gmult_clmul -#define _gcm_gmult_neon _ring_core_0_17_5_gcm_gmult_neon -#define _gcm_init_avx _ring_core_0_17_5_gcm_init_avx -#define _gcm_init_clmul _ring_core_0_17_5_gcm_init_clmul -#define _gcm_init_neon _ring_core_0_17_5_gcm_init_neon -#define _k25519Precomp _ring_core_0_17_5_k25519Precomp -#define _limbs_mul_add_limb _ring_core_0_17_5_limbs_mul_add_limb -#define _little_endian_bytes_from_scalar _ring_core_0_17_5_little_endian_bytes_from_scalar -#define _ecp_nistz256_neg _ring_core_0_17_5_ecp_nistz256_neg -#define _ecp_nistz256_select_w5 _ring_core_0_17_5_ecp_nistz256_select_w5 -#define _ecp_nistz256_select_w7 _ring_core_0_17_5_ecp_nistz256_select_w7 -#define _p256_mul_mont _ring_core_0_17_5_p256_mul_mont -#define _p256_point_add _ring_core_0_17_5_p256_point_add -#define _p256_point_add_affine _ring_core_0_17_5_p256_point_add_affine -#define _p256_point_double _ring_core_0_17_5_p256_point_double -#define _p256_point_mul _ring_core_0_17_5_p256_point_mul -#define _p256_point_mul_base _ring_core_0_17_5_p256_point_mul_base -#define _p256_point_mul_base_vartime _ring_core_0_17_5_p256_point_mul_base_vartime -#define _p256_scalar_mul_mont _ring_core_0_17_5_p256_scalar_mul_mont -#define _p256_scalar_sqr_rep_mont _ring_core_0_17_5_p256_scalar_sqr_rep_mont -#define _p256_sqr_mont _ring_core_0_17_5_p256_sqr_mont -#define _p384_elem_div_by_2 _ring_core_0_17_5_p384_elem_div_by_2 -#define _p384_elem_mul_mont _ring_core_0_17_5_p384_elem_mul_mont -#define _p384_elem_neg _ring_core_0_17_5_p384_elem_neg -#define _p384_elem_sub _ring_core_0_17_5_p384_elem_sub -#define _p384_point_add _ring_core_0_17_5_p384_point_add -#define _p384_point_double _ring_core_0_17_5_p384_point_double -#define _p384_point_mul _ring_core_0_17_5_p384_point_mul -#define _p384_scalar_mul_mont _ring_core_0_17_5_p384_scalar_mul_mont -#define _openssl_poly1305_neon2_addmulmod _ring_core_0_17_5_openssl_poly1305_neon2_addmulmod -#define _openssl_poly1305_neon2_blocks _ring_core_0_17_5_openssl_poly1305_neon2_blocks -#define _sha256_block_data_order _ring_core_0_17_5_sha256_block_data_order -#define _sha512_block_data_order _ring_core_0_17_5_sha512_block_data_order -#define _vpaes_ctr32_encrypt_blocks _ring_core_0_17_5_vpaes_ctr32_encrypt_blocks -#define _vpaes_encrypt _ring_core_0_17_5_vpaes_encrypt -#define _vpaes_encrypt_key_to_bsaes _ring_core_0_17_5_vpaes_encrypt_key_to_bsaes -#define _vpaes_set_encrypt_key _ring_core_0_17_5_vpaes_set_encrypt_key -#define _x25519_NEON _ring_core_0_17_5_x25519_NEON -#define _x25519_fe_invert _ring_core_0_17_5_x25519_fe_invert -#define _x25519_fe_isnegative _ring_core_0_17_5_x25519_fe_isnegative -#define _x25519_fe_mul_ttt _ring_core_0_17_5_x25519_fe_mul_ttt -#define _x25519_fe_neg _ring_core_0_17_5_x25519_fe_neg -#define _x25519_fe_tobytes _ring_core_0_17_5_x25519_fe_tobytes -#define _x25519_ge_double_scalarmult_vartime _ring_core_0_17_5_x25519_ge_double_scalarmult_vartime -#define _x25519_ge_frombytes_vartime _ring_core_0_17_5_x25519_ge_frombytes_vartime -#define _x25519_ge_scalarmult_base _ring_core_0_17_5_x25519_ge_scalarmult_base -#define _x25519_ge_scalarmult_base_adx _ring_core_0_17_5_x25519_ge_scalarmult_base_adx -#define _x25519_public_from_private_generic_masked _ring_core_0_17_5_x25519_public_from_private_generic_masked -#define _x25519_sc_mask _ring_core_0_17_5_x25519_sc_mask -#define _x25519_sc_muladd _ring_core_0_17_5_x25519_sc_muladd -#define _x25519_sc_reduce _ring_core_0_17_5_x25519_sc_reduce -#define _x25519_scalar_mult_adx _ring_core_0_17_5_x25519_scalar_mult_adx -#define _x25519_scalar_mult_generic_masked _ring_core_0_17_5_x25519_scalar_mult_generic_masked - -#else -#define ecp_nistz256_point_double p256_point_double -#define ecp_nistz256_point_add p256_point_add -#define ecp_nistz256_point_add_affine p256_point_add_affine -#define ecp_nistz256_ord_mul_mont p256_scalar_mul_mont -#define ecp_nistz256_ord_sqr_mont p256_scalar_sqr_rep_mont -#define ecp_nistz256_mul_mont p256_mul_mont -#define ecp_nistz256_sqr_mont p256_sqr_mont -#define CRYPTO_memcmp ring_core_0_17_5_CRYPTO_memcmp -#define CRYPTO_poly1305_finish ring_core_0_17_5_CRYPTO_poly1305_finish -#define CRYPTO_poly1305_finish_neon ring_core_0_17_5_CRYPTO_poly1305_finish_neon -#define CRYPTO_poly1305_init ring_core_0_17_5_CRYPTO_poly1305_init -#define CRYPTO_poly1305_init_neon ring_core_0_17_5_CRYPTO_poly1305_init_neon -#define CRYPTO_poly1305_update ring_core_0_17_5_CRYPTO_poly1305_update -#define CRYPTO_poly1305_update_neon ring_core_0_17_5_CRYPTO_poly1305_update_neon -#define ChaCha20_ctr32 ring_core_0_17_5_ChaCha20_ctr32 -#define LIMBS_add_mod ring_core_0_17_5_LIMBS_add_mod -#define LIMBS_are_even ring_core_0_17_5_LIMBS_are_even -#define LIMBS_are_zero ring_core_0_17_5_LIMBS_are_zero -#define LIMBS_equal ring_core_0_17_5_LIMBS_equal -#define LIMBS_equal_limb ring_core_0_17_5_LIMBS_equal_limb -#define LIMBS_less_than ring_core_0_17_5_LIMBS_less_than -#define LIMBS_less_than_limb ring_core_0_17_5_LIMBS_less_than_limb -#define LIMBS_reduce_once ring_core_0_17_5_LIMBS_reduce_once -#define LIMBS_select_512_32 ring_core_0_17_5_LIMBS_select_512_32 -#define LIMBS_shl_mod ring_core_0_17_5_LIMBS_shl_mod -#define LIMBS_sub_mod ring_core_0_17_5_LIMBS_sub_mod -#define LIMBS_window5_split_window ring_core_0_17_5_LIMBS_window5_split_window -#define LIMBS_window5_unsplit_window ring_core_0_17_5_LIMBS_window5_unsplit_window -#define LIMB_shr ring_core_0_17_5_LIMB_shr -#define OPENSSL_armcap_P ring_core_0_17_5_OPENSSL_armcap_P -#define OPENSSL_cpuid_setup ring_core_0_17_5_OPENSSL_cpuid_setup -#define OPENSSL_ia32cap_P ring_core_0_17_5_OPENSSL_ia32cap_P -#define aes_hw_ctr32_encrypt_blocks ring_core_0_17_5_aes_hw_ctr32_encrypt_blocks -#define aes_hw_encrypt ring_core_0_17_5_aes_hw_encrypt -#define aes_hw_set_encrypt_key ring_core_0_17_5_aes_hw_set_encrypt_key -#define aes_nohw_ctr32_encrypt_blocks ring_core_0_17_5_aes_nohw_ctr32_encrypt_blocks -#define aes_nohw_encrypt ring_core_0_17_5_aes_nohw_encrypt -#define aes_nohw_set_encrypt_key ring_core_0_17_5_aes_nohw_set_encrypt_key -#define aesni_gcm_decrypt ring_core_0_17_5_aesni_gcm_decrypt -#define aesni_gcm_encrypt ring_core_0_17_5_aesni_gcm_encrypt -#define bn_from_montgomery_in_place ring_core_0_17_5_bn_from_montgomery_in_place -#define bn_gather5 ring_core_0_17_5_bn_gather5 -#define bn_mul_mont ring_core_0_17_5_bn_mul_mont -#define bn_mul_mont_gather5 ring_core_0_17_5_bn_mul_mont_gather5 -#define bn_neg_inv_mod_r_u64 ring_core_0_17_5_bn_neg_inv_mod_r_u64 -#define bn_power5 ring_core_0_17_5_bn_power5 -#define bn_scatter5 ring_core_0_17_5_bn_scatter5 -#define bn_sqr8x_internal ring_core_0_17_5_bn_sqr8x_internal -#define bn_sqrx8x_internal ring_core_0_17_5_bn_sqrx8x_internal -#define bsaes_ctr32_encrypt_blocks ring_core_0_17_5_bsaes_ctr32_encrypt_blocks -#define bssl_constant_time_test_conditional_memcpy ring_core_0_17_5_bssl_constant_time_test_conditional_memcpy -#define bssl_constant_time_test_conditional_memxor ring_core_0_17_5_bssl_constant_time_test_conditional_memxor -#define bssl_constant_time_test_main ring_core_0_17_5_bssl_constant_time_test_main -#define chacha20_poly1305_open ring_core_0_17_5_chacha20_poly1305_open -#define chacha20_poly1305_seal ring_core_0_17_5_chacha20_poly1305_seal -#define fiat_curve25519_adx_mul ring_core_0_17_5_fiat_curve25519_adx_mul -#define fiat_curve25519_adx_square ring_core_0_17_5_fiat_curve25519_adx_square -#define gcm_ghash_avx ring_core_0_17_5_gcm_ghash_avx -#define gcm_ghash_clmul ring_core_0_17_5_gcm_ghash_clmul -#define gcm_ghash_neon ring_core_0_17_5_gcm_ghash_neon -#define gcm_gmult_clmul ring_core_0_17_5_gcm_gmult_clmul -#define gcm_gmult_neon ring_core_0_17_5_gcm_gmult_neon -#define gcm_init_avx ring_core_0_17_5_gcm_init_avx -#define gcm_init_clmul ring_core_0_17_5_gcm_init_clmul -#define gcm_init_neon ring_core_0_17_5_gcm_init_neon -#define k25519Precomp ring_core_0_17_5_k25519Precomp -#define limbs_mul_add_limb ring_core_0_17_5_limbs_mul_add_limb -#define little_endian_bytes_from_scalar ring_core_0_17_5_little_endian_bytes_from_scalar -#define ecp_nistz256_neg ring_core_0_17_5_ecp_nistz256_neg -#define ecp_nistz256_select_w5 ring_core_0_17_5_ecp_nistz256_select_w5 -#define ecp_nistz256_select_w7 ring_core_0_17_5_ecp_nistz256_select_w7 -#define p256_mul_mont ring_core_0_17_5_p256_mul_mont -#define p256_point_add ring_core_0_17_5_p256_point_add -#define p256_point_add_affine ring_core_0_17_5_p256_point_add_affine -#define p256_point_double ring_core_0_17_5_p256_point_double -#define p256_point_mul ring_core_0_17_5_p256_point_mul -#define p256_point_mul_base ring_core_0_17_5_p256_point_mul_base -#define p256_point_mul_base_vartime ring_core_0_17_5_p256_point_mul_base_vartime -#define p256_scalar_mul_mont ring_core_0_17_5_p256_scalar_mul_mont -#define p256_scalar_sqr_rep_mont ring_core_0_17_5_p256_scalar_sqr_rep_mont -#define p256_sqr_mont ring_core_0_17_5_p256_sqr_mont -#define p384_elem_div_by_2 ring_core_0_17_5_p384_elem_div_by_2 -#define p384_elem_mul_mont ring_core_0_17_5_p384_elem_mul_mont -#define p384_elem_neg ring_core_0_17_5_p384_elem_neg -#define p384_elem_sub ring_core_0_17_5_p384_elem_sub -#define p384_point_add ring_core_0_17_5_p384_point_add -#define p384_point_double ring_core_0_17_5_p384_point_double -#define p384_point_mul ring_core_0_17_5_p384_point_mul -#define p384_scalar_mul_mont ring_core_0_17_5_p384_scalar_mul_mont -#define openssl_poly1305_neon2_addmulmod ring_core_0_17_5_openssl_poly1305_neon2_addmulmod -#define openssl_poly1305_neon2_blocks ring_core_0_17_5_openssl_poly1305_neon2_blocks -#define sha256_block_data_order ring_core_0_17_5_sha256_block_data_order -#define sha512_block_data_order ring_core_0_17_5_sha512_block_data_order -#define vpaes_ctr32_encrypt_blocks ring_core_0_17_5_vpaes_ctr32_encrypt_blocks -#define vpaes_encrypt ring_core_0_17_5_vpaes_encrypt -#define vpaes_encrypt_key_to_bsaes ring_core_0_17_5_vpaes_encrypt_key_to_bsaes -#define vpaes_set_encrypt_key ring_core_0_17_5_vpaes_set_encrypt_key -#define x25519_NEON ring_core_0_17_5_x25519_NEON -#define x25519_fe_invert ring_core_0_17_5_x25519_fe_invert -#define x25519_fe_isnegative ring_core_0_17_5_x25519_fe_isnegative -#define x25519_fe_mul_ttt ring_core_0_17_5_x25519_fe_mul_ttt -#define x25519_fe_neg ring_core_0_17_5_x25519_fe_neg -#define x25519_fe_tobytes ring_core_0_17_5_x25519_fe_tobytes -#define x25519_ge_double_scalarmult_vartime ring_core_0_17_5_x25519_ge_double_scalarmult_vartime -#define x25519_ge_frombytes_vartime ring_core_0_17_5_x25519_ge_frombytes_vartime -#define x25519_ge_scalarmult_base ring_core_0_17_5_x25519_ge_scalarmult_base -#define x25519_ge_scalarmult_base_adx ring_core_0_17_5_x25519_ge_scalarmult_base_adx -#define x25519_public_from_private_generic_masked ring_core_0_17_5_x25519_public_from_private_generic_masked -#define x25519_sc_mask ring_core_0_17_5_x25519_sc_mask -#define x25519_sc_muladd ring_core_0_17_5_x25519_sc_muladd -#define x25519_sc_reduce ring_core_0_17_5_x25519_sc_reduce -#define x25519_scalar_mult_adx ring_core_0_17_5_x25519_scalar_mult_adx -#define x25519_scalar_mult_generic_masked ring_core_0_17_5_x25519_scalar_mult_generic_masked - -#endif -#endif diff --git a/shim/third-party/rust/fixups/ring/include/ring_core_generated/prefix_symbols_nasm.inc b/shim/third-party/rust/fixups/ring/include/ring_core_generated/prefix_symbols_nasm.inc deleted file mode 100644 index 50e986a6..00000000 --- a/shim/third-party/rust/fixups/ring/include/ring_core_generated/prefix_symbols_nasm.inc +++ /dev/null @@ -1,236 +0,0 @@ - -%ifndef ring_core_generated_PREFIX_SYMBOLS_NASM_INC -%define ring_core_generated_PREFIX_SYMBOLS_NASM_INC - -%ifidn __OUTPUT_FORMAT__,win32 -%define _ecp_nistz256_point_double _p256_point_double -%define _ecp_nistz256_point_add _p256_point_add -%define _ecp_nistz256_point_add_affine _p256_point_add_affine -%define _ecp_nistz256_ord_mul_mont _p256_scalar_mul_mont -%define _ecp_nistz256_ord_sqr_mont _p256_scalar_sqr_rep_mont -%define _ecp_nistz256_mul_mont _p256_mul_mont -%define _ecp_nistz256_sqr_mont _p256_sqr_mont -%define _CRYPTO_memcmp _ring_core_0_17_5_CRYPTO_memcmp -%define _CRYPTO_poly1305_finish _ring_core_0_17_5_CRYPTO_poly1305_finish -%define _CRYPTO_poly1305_finish_neon _ring_core_0_17_5_CRYPTO_poly1305_finish_neon -%define _CRYPTO_poly1305_init _ring_core_0_17_5_CRYPTO_poly1305_init -%define _CRYPTO_poly1305_init_neon _ring_core_0_17_5_CRYPTO_poly1305_init_neon -%define _CRYPTO_poly1305_update _ring_core_0_17_5_CRYPTO_poly1305_update -%define _CRYPTO_poly1305_update_neon _ring_core_0_17_5_CRYPTO_poly1305_update_neon -%define _ChaCha20_ctr32 _ring_core_0_17_5_ChaCha20_ctr32 -%define _LIMBS_add_mod _ring_core_0_17_5_LIMBS_add_mod -%define _LIMBS_are_even _ring_core_0_17_5_LIMBS_are_even -%define _LIMBS_are_zero _ring_core_0_17_5_LIMBS_are_zero -%define _LIMBS_equal _ring_core_0_17_5_LIMBS_equal -%define _LIMBS_equal_limb _ring_core_0_17_5_LIMBS_equal_limb -%define _LIMBS_less_than _ring_core_0_17_5_LIMBS_less_than -%define _LIMBS_less_than_limb _ring_core_0_17_5_LIMBS_less_than_limb -%define _LIMBS_reduce_once _ring_core_0_17_5_LIMBS_reduce_once -%define _LIMBS_select_512_32 _ring_core_0_17_5_LIMBS_select_512_32 -%define _LIMBS_shl_mod _ring_core_0_17_5_LIMBS_shl_mod -%define _LIMBS_sub_mod _ring_core_0_17_5_LIMBS_sub_mod -%define _LIMBS_window5_split_window _ring_core_0_17_5_LIMBS_window5_split_window -%define _LIMBS_window5_unsplit_window _ring_core_0_17_5_LIMBS_window5_unsplit_window -%define _LIMB_shr _ring_core_0_17_5_LIMB_shr -%define _OPENSSL_armcap_P _ring_core_0_17_5_OPENSSL_armcap_P -%define _OPENSSL_cpuid_setup _ring_core_0_17_5_OPENSSL_cpuid_setup -%define _OPENSSL_ia32cap_P _ring_core_0_17_5_OPENSSL_ia32cap_P -%define _aes_hw_ctr32_encrypt_blocks _ring_core_0_17_5_aes_hw_ctr32_encrypt_blocks -%define _aes_hw_encrypt _ring_core_0_17_5_aes_hw_encrypt -%define _aes_hw_set_encrypt_key _ring_core_0_17_5_aes_hw_set_encrypt_key -%define _aes_nohw_ctr32_encrypt_blocks _ring_core_0_17_5_aes_nohw_ctr32_encrypt_blocks -%define _aes_nohw_encrypt _ring_core_0_17_5_aes_nohw_encrypt -%define _aes_nohw_set_encrypt_key _ring_core_0_17_5_aes_nohw_set_encrypt_key -%define _aesni_gcm_decrypt _ring_core_0_17_5_aesni_gcm_decrypt -%define _aesni_gcm_encrypt _ring_core_0_17_5_aesni_gcm_encrypt -%define _bn_from_montgomery_in_place _ring_core_0_17_5_bn_from_montgomery_in_place -%define _bn_gather5 _ring_core_0_17_5_bn_gather5 -%define _bn_mul_mont _ring_core_0_17_5_bn_mul_mont -%define _bn_mul_mont_gather5 _ring_core_0_17_5_bn_mul_mont_gather5 -%define _bn_neg_inv_mod_r_u64 _ring_core_0_17_5_bn_neg_inv_mod_r_u64 -%define _bn_power5 _ring_core_0_17_5_bn_power5 -%define _bn_scatter5 _ring_core_0_17_5_bn_scatter5 -%define _bn_sqr8x_internal _ring_core_0_17_5_bn_sqr8x_internal -%define _bn_sqrx8x_internal _ring_core_0_17_5_bn_sqrx8x_internal -%define _bsaes_ctr32_encrypt_blocks _ring_core_0_17_5_bsaes_ctr32_encrypt_blocks -%define _bssl_constant_time_test_conditional_memcpy _ring_core_0_17_5_bssl_constant_time_test_conditional_memcpy -%define _bssl_constant_time_test_conditional_memxor _ring_core_0_17_5_bssl_constant_time_test_conditional_memxor -%define _bssl_constant_time_test_main _ring_core_0_17_5_bssl_constant_time_test_main -%define _chacha20_poly1305_open _ring_core_0_17_5_chacha20_poly1305_open -%define _chacha20_poly1305_seal _ring_core_0_17_5_chacha20_poly1305_seal -%define _fiat_curve25519_adx_mul _ring_core_0_17_5_fiat_curve25519_adx_mul -%define _fiat_curve25519_adx_square _ring_core_0_17_5_fiat_curve25519_adx_square -%define _gcm_ghash_avx _ring_core_0_17_5_gcm_ghash_avx -%define _gcm_ghash_clmul _ring_core_0_17_5_gcm_ghash_clmul -%define _gcm_ghash_neon _ring_core_0_17_5_gcm_ghash_neon -%define _gcm_gmult_clmul _ring_core_0_17_5_gcm_gmult_clmul -%define _gcm_gmult_neon _ring_core_0_17_5_gcm_gmult_neon -%define _gcm_init_avx _ring_core_0_17_5_gcm_init_avx -%define _gcm_init_clmul _ring_core_0_17_5_gcm_init_clmul -%define _gcm_init_neon _ring_core_0_17_5_gcm_init_neon -%define _k25519Precomp _ring_core_0_17_5_k25519Precomp -%define _limbs_mul_add_limb _ring_core_0_17_5_limbs_mul_add_limb -%define _little_endian_bytes_from_scalar _ring_core_0_17_5_little_endian_bytes_from_scalar -%define _ecp_nistz256_neg _ring_core_0_17_5_ecp_nistz256_neg -%define _ecp_nistz256_select_w5 _ring_core_0_17_5_ecp_nistz256_select_w5 -%define _ecp_nistz256_select_w7 _ring_core_0_17_5_ecp_nistz256_select_w7 -%define _p256_mul_mont _ring_core_0_17_5_p256_mul_mont -%define _p256_point_add _ring_core_0_17_5_p256_point_add -%define _p256_point_add_affine _ring_core_0_17_5_p256_point_add_affine -%define _p256_point_double _ring_core_0_17_5_p256_point_double -%define _p256_point_mul _ring_core_0_17_5_p256_point_mul -%define _p256_point_mul_base _ring_core_0_17_5_p256_point_mul_base -%define _p256_point_mul_base_vartime _ring_core_0_17_5_p256_point_mul_base_vartime -%define _p256_scalar_mul_mont _ring_core_0_17_5_p256_scalar_mul_mont -%define _p256_scalar_sqr_rep_mont _ring_core_0_17_5_p256_scalar_sqr_rep_mont -%define _p256_sqr_mont _ring_core_0_17_5_p256_sqr_mont -%define _p384_elem_div_by_2 _ring_core_0_17_5_p384_elem_div_by_2 -%define _p384_elem_mul_mont _ring_core_0_17_5_p384_elem_mul_mont -%define _p384_elem_neg _ring_core_0_17_5_p384_elem_neg -%define _p384_elem_sub _ring_core_0_17_5_p384_elem_sub -%define _p384_point_add _ring_core_0_17_5_p384_point_add -%define _p384_point_double _ring_core_0_17_5_p384_point_double -%define _p384_point_mul _ring_core_0_17_5_p384_point_mul -%define _p384_scalar_mul_mont _ring_core_0_17_5_p384_scalar_mul_mont -%define _openssl_poly1305_neon2_addmulmod _ring_core_0_17_5_openssl_poly1305_neon2_addmulmod -%define _openssl_poly1305_neon2_blocks _ring_core_0_17_5_openssl_poly1305_neon2_blocks -%define _sha256_block_data_order _ring_core_0_17_5_sha256_block_data_order -%define _sha512_block_data_order _ring_core_0_17_5_sha512_block_data_order -%define _vpaes_ctr32_encrypt_blocks _ring_core_0_17_5_vpaes_ctr32_encrypt_blocks -%define _vpaes_encrypt _ring_core_0_17_5_vpaes_encrypt -%define _vpaes_encrypt_key_to_bsaes _ring_core_0_17_5_vpaes_encrypt_key_to_bsaes -%define _vpaes_set_encrypt_key _ring_core_0_17_5_vpaes_set_encrypt_key -%define _x25519_NEON _ring_core_0_17_5_x25519_NEON -%define _x25519_fe_invert _ring_core_0_17_5_x25519_fe_invert -%define _x25519_fe_isnegative _ring_core_0_17_5_x25519_fe_isnegative -%define _x25519_fe_mul_ttt _ring_core_0_17_5_x25519_fe_mul_ttt -%define _x25519_fe_neg _ring_core_0_17_5_x25519_fe_neg -%define _x25519_fe_tobytes _ring_core_0_17_5_x25519_fe_tobytes -%define _x25519_ge_double_scalarmult_vartime _ring_core_0_17_5_x25519_ge_double_scalarmult_vartime -%define _x25519_ge_frombytes_vartime _ring_core_0_17_5_x25519_ge_frombytes_vartime -%define _x25519_ge_scalarmult_base _ring_core_0_17_5_x25519_ge_scalarmult_base -%define _x25519_ge_scalarmult_base_adx _ring_core_0_17_5_x25519_ge_scalarmult_base_adx -%define _x25519_public_from_private_generic_masked _ring_core_0_17_5_x25519_public_from_private_generic_masked -%define _x25519_sc_mask _ring_core_0_17_5_x25519_sc_mask -%define _x25519_sc_muladd _ring_core_0_17_5_x25519_sc_muladd -%define _x25519_sc_reduce _ring_core_0_17_5_x25519_sc_reduce -%define _x25519_scalar_mult_adx _ring_core_0_17_5_x25519_scalar_mult_adx -%define _x25519_scalar_mult_generic_masked _ring_core_0_17_5_x25519_scalar_mult_generic_masked - -%else -%define ecp_nistz256_point_double p256_point_double -%define ecp_nistz256_point_add p256_point_add -%define ecp_nistz256_point_add_affine p256_point_add_affine -%define ecp_nistz256_ord_mul_mont p256_scalar_mul_mont -%define ecp_nistz256_ord_sqr_mont p256_scalar_sqr_rep_mont -%define ecp_nistz256_mul_mont p256_mul_mont -%define ecp_nistz256_sqr_mont p256_sqr_mont -%define CRYPTO_memcmp ring_core_0_17_5_CRYPTO_memcmp -%define CRYPTO_poly1305_finish ring_core_0_17_5_CRYPTO_poly1305_finish -%define CRYPTO_poly1305_finish_neon ring_core_0_17_5_CRYPTO_poly1305_finish_neon -%define CRYPTO_poly1305_init ring_core_0_17_5_CRYPTO_poly1305_init -%define CRYPTO_poly1305_init_neon ring_core_0_17_5_CRYPTO_poly1305_init_neon -%define CRYPTO_poly1305_update ring_core_0_17_5_CRYPTO_poly1305_update -%define CRYPTO_poly1305_update_neon ring_core_0_17_5_CRYPTO_poly1305_update_neon -%define ChaCha20_ctr32 ring_core_0_17_5_ChaCha20_ctr32 -%define LIMBS_add_mod ring_core_0_17_5_LIMBS_add_mod -%define LIMBS_are_even ring_core_0_17_5_LIMBS_are_even -%define LIMBS_are_zero ring_core_0_17_5_LIMBS_are_zero -%define LIMBS_equal ring_core_0_17_5_LIMBS_equal -%define LIMBS_equal_limb ring_core_0_17_5_LIMBS_equal_limb -%define LIMBS_less_than ring_core_0_17_5_LIMBS_less_than -%define LIMBS_less_than_limb ring_core_0_17_5_LIMBS_less_than_limb -%define LIMBS_reduce_once ring_core_0_17_5_LIMBS_reduce_once -%define LIMBS_select_512_32 ring_core_0_17_5_LIMBS_select_512_32 -%define LIMBS_shl_mod ring_core_0_17_5_LIMBS_shl_mod -%define LIMBS_sub_mod ring_core_0_17_5_LIMBS_sub_mod -%define LIMBS_window5_split_window ring_core_0_17_5_LIMBS_window5_split_window -%define LIMBS_window5_unsplit_window ring_core_0_17_5_LIMBS_window5_unsplit_window -%define LIMB_shr ring_core_0_17_5_LIMB_shr -%define OPENSSL_armcap_P ring_core_0_17_5_OPENSSL_armcap_P -%define OPENSSL_cpuid_setup ring_core_0_17_5_OPENSSL_cpuid_setup -%define OPENSSL_ia32cap_P ring_core_0_17_5_OPENSSL_ia32cap_P -%define aes_hw_ctr32_encrypt_blocks ring_core_0_17_5_aes_hw_ctr32_encrypt_blocks -%define aes_hw_encrypt ring_core_0_17_5_aes_hw_encrypt -%define aes_hw_set_encrypt_key ring_core_0_17_5_aes_hw_set_encrypt_key -%define aes_nohw_ctr32_encrypt_blocks ring_core_0_17_5_aes_nohw_ctr32_encrypt_blocks -%define aes_nohw_encrypt ring_core_0_17_5_aes_nohw_encrypt -%define aes_nohw_set_encrypt_key ring_core_0_17_5_aes_nohw_set_encrypt_key -%define aesni_gcm_decrypt ring_core_0_17_5_aesni_gcm_decrypt -%define aesni_gcm_encrypt ring_core_0_17_5_aesni_gcm_encrypt -%define bn_from_montgomery_in_place ring_core_0_17_5_bn_from_montgomery_in_place -%define bn_gather5 ring_core_0_17_5_bn_gather5 -%define bn_mul_mont ring_core_0_17_5_bn_mul_mont -%define bn_mul_mont_gather5 ring_core_0_17_5_bn_mul_mont_gather5 -%define bn_neg_inv_mod_r_u64 ring_core_0_17_5_bn_neg_inv_mod_r_u64 -%define bn_power5 ring_core_0_17_5_bn_power5 -%define bn_scatter5 ring_core_0_17_5_bn_scatter5 -%define bn_sqr8x_internal ring_core_0_17_5_bn_sqr8x_internal -%define bn_sqrx8x_internal ring_core_0_17_5_bn_sqrx8x_internal -%define bsaes_ctr32_encrypt_blocks ring_core_0_17_5_bsaes_ctr32_encrypt_blocks -%define bssl_constant_time_test_conditional_memcpy ring_core_0_17_5_bssl_constant_time_test_conditional_memcpy -%define bssl_constant_time_test_conditional_memxor ring_core_0_17_5_bssl_constant_time_test_conditional_memxor -%define bssl_constant_time_test_main ring_core_0_17_5_bssl_constant_time_test_main -%define chacha20_poly1305_open ring_core_0_17_5_chacha20_poly1305_open -%define chacha20_poly1305_seal ring_core_0_17_5_chacha20_poly1305_seal -%define fiat_curve25519_adx_mul ring_core_0_17_5_fiat_curve25519_adx_mul -%define fiat_curve25519_adx_square ring_core_0_17_5_fiat_curve25519_adx_square -%define gcm_ghash_avx ring_core_0_17_5_gcm_ghash_avx -%define gcm_ghash_clmul ring_core_0_17_5_gcm_ghash_clmul -%define gcm_ghash_neon ring_core_0_17_5_gcm_ghash_neon -%define gcm_gmult_clmul ring_core_0_17_5_gcm_gmult_clmul -%define gcm_gmult_neon ring_core_0_17_5_gcm_gmult_neon -%define gcm_init_avx ring_core_0_17_5_gcm_init_avx -%define gcm_init_clmul ring_core_0_17_5_gcm_init_clmul -%define gcm_init_neon ring_core_0_17_5_gcm_init_neon -%define k25519Precomp ring_core_0_17_5_k25519Precomp -%define limbs_mul_add_limb ring_core_0_17_5_limbs_mul_add_limb -%define little_endian_bytes_from_scalar ring_core_0_17_5_little_endian_bytes_from_scalar -%define ecp_nistz256_neg ring_core_0_17_5_ecp_nistz256_neg -%define ecp_nistz256_select_w5 ring_core_0_17_5_ecp_nistz256_select_w5 -%define ecp_nistz256_select_w7 ring_core_0_17_5_ecp_nistz256_select_w7 -%define p256_mul_mont ring_core_0_17_5_p256_mul_mont -%define p256_point_add ring_core_0_17_5_p256_point_add -%define p256_point_add_affine ring_core_0_17_5_p256_point_add_affine -%define p256_point_double ring_core_0_17_5_p256_point_double -%define p256_point_mul ring_core_0_17_5_p256_point_mul -%define p256_point_mul_base ring_core_0_17_5_p256_point_mul_base -%define p256_point_mul_base_vartime ring_core_0_17_5_p256_point_mul_base_vartime -%define p256_scalar_mul_mont ring_core_0_17_5_p256_scalar_mul_mont -%define p256_scalar_sqr_rep_mont ring_core_0_17_5_p256_scalar_sqr_rep_mont -%define p256_sqr_mont ring_core_0_17_5_p256_sqr_mont -%define p384_elem_div_by_2 ring_core_0_17_5_p384_elem_div_by_2 -%define p384_elem_mul_mont ring_core_0_17_5_p384_elem_mul_mont -%define p384_elem_neg ring_core_0_17_5_p384_elem_neg -%define p384_elem_sub ring_core_0_17_5_p384_elem_sub -%define p384_point_add ring_core_0_17_5_p384_point_add -%define p384_point_double ring_core_0_17_5_p384_point_double -%define p384_point_mul ring_core_0_17_5_p384_point_mul -%define p384_scalar_mul_mont ring_core_0_17_5_p384_scalar_mul_mont -%define openssl_poly1305_neon2_addmulmod ring_core_0_17_5_openssl_poly1305_neon2_addmulmod -%define openssl_poly1305_neon2_blocks ring_core_0_17_5_openssl_poly1305_neon2_blocks -%define sha256_block_data_order ring_core_0_17_5_sha256_block_data_order -%define sha512_block_data_order ring_core_0_17_5_sha512_block_data_order -%define vpaes_ctr32_encrypt_blocks ring_core_0_17_5_vpaes_ctr32_encrypt_blocks -%define vpaes_encrypt ring_core_0_17_5_vpaes_encrypt -%define vpaes_encrypt_key_to_bsaes ring_core_0_17_5_vpaes_encrypt_key_to_bsaes -%define vpaes_set_encrypt_key ring_core_0_17_5_vpaes_set_encrypt_key -%define x25519_NEON ring_core_0_17_5_x25519_NEON -%define x25519_fe_invert ring_core_0_17_5_x25519_fe_invert -%define x25519_fe_isnegative ring_core_0_17_5_x25519_fe_isnegative -%define x25519_fe_mul_ttt ring_core_0_17_5_x25519_fe_mul_ttt -%define x25519_fe_neg ring_core_0_17_5_x25519_fe_neg -%define x25519_fe_tobytes ring_core_0_17_5_x25519_fe_tobytes -%define x25519_ge_double_scalarmult_vartime ring_core_0_17_5_x25519_ge_double_scalarmult_vartime -%define x25519_ge_frombytes_vartime ring_core_0_17_5_x25519_ge_frombytes_vartime -%define x25519_ge_scalarmult_base ring_core_0_17_5_x25519_ge_scalarmult_base -%define x25519_ge_scalarmult_base_adx ring_core_0_17_5_x25519_ge_scalarmult_base_adx -%define x25519_public_from_private_generic_masked ring_core_0_17_5_x25519_public_from_private_generic_masked -%define x25519_sc_mask ring_core_0_17_5_x25519_sc_mask -%define x25519_sc_muladd ring_core_0_17_5_x25519_sc_muladd -%define x25519_sc_reduce ring_core_0_17_5_x25519_sc_reduce -%define x25519_scalar_mult_adx ring_core_0_17_5_x25519_scalar_mult_adx -%define x25519_scalar_mult_generic_masked ring_core_0_17_5_x25519_scalar_mult_generic_masked - -%endif -%endif diff --git a/shim/third-party/rust/fixups/rustls/fixups.toml b/shim/third-party/rust/fixups/rustls/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/rustls/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/rustversion/fixups.toml b/shim/third-party/rust/fixups/rustversion/fixups.toml deleted file mode 100644 index ac9ebfb4..00000000 --- a/shim/third-party/rust/fixups/rustversion/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -[[buildscript]] -[buildscript.gen_srcs] diff --git a/shim/third-party/rust/fixups/serde_derive/fixups.toml b/shim/third-party/rust/fixups/serde_derive/fixups.toml deleted file mode 100644 index 7de4ebb3..00000000 --- a/shim/third-party/rust/fixups/serde_derive/fixups.toml +++ /dev/null @@ -1,3 +0,0 @@ -# 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 deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/serde_json/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/signal-hook/fixups.toml b/shim/third-party/rust/fixups/signal-hook/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/signal-hook/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/slab/fixups.toml b/shim/third-party/rust/fixups/slab/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/slab/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/slog/fixups.toml b/shim/third-party/rust/fixups/slog/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/slog/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/sys-info/fixups.toml b/shim/third-party/rust/fixups/sys-info/fixups.toml deleted file mode 100644 index 5d124b3a..00000000 --- a/shim/third-party/rust/fixups/sys-info/fixups.toml +++ /dev/null @@ -1,19 +0,0 @@ -buildscript = [] - -[[platform_fixup.'cfg(target_os = "linux")'.buildscript]] -[platform_fixup.'cfg(target_os = "linux")'.buildscript.cxx_library] -name = "linux" -srcs = ["c/linux.c"] -headers = ["c/*.h"] - -[[platform_fixup.'cfg(target_os = "macos")'.buildscript]] -[platform_fixup.'cfg(target_os = "macos")'.buildscript.cxx_library] -name = "macos" -srcs = ["c/darwin.c"] -headers = ["c/*.h"] - -[[platform_fixup.'cfg(target_os = "windows")'.buildscript]] -[platform_fixup.'cfg(target_os = "windows")'.buildscript.cxx_library] -name = "windows" -srcs = ["c/windows.c"] -headers = ["c/*.h"] diff --git a/shim/third-party/rust/fixups/sysinfo/fixups.toml b/shim/third-party/rust/fixups/sysinfo/fixups.toml deleted file mode 100644 index 8518b189..00000000 --- a/shim/third-party/rust/fixups/sysinfo/fixups.toml +++ /dev/null @@ -1,11 +0,0 @@ -extra_srcs = ["README.md", "md_doc/**/*.md"] -buildscript = [] - -[platform_fixup.'cfg(target_os = "macos")'] -buildscript = [] -rustc_flags = [ - "-lframework=IOKit", - "-lframework=Foundation", - "-lframework=CoreFoundation", - "-lframework=DiskArbitration", -] diff --git a/shim/third-party/rust/fixups/tempfile/fixups.toml b/shim/third-party/rust/fixups/tempfile/fixups.toml deleted file mode 100644 index 5e026f75..00000000 --- a/shim/third-party/rust/fixups/tempfile/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -[[buildscript]] -[buildscript.rustc_flags] diff --git a/shim/third-party/rust/fixups/terminfo/fixups.toml b/shim/third-party/rust/fixups/terminfo/fixups.toml deleted file mode 100644 index ac9ebfb4..00000000 --- a/shim/third-party/rust/fixups/terminfo/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -[[buildscript]] -[buildscript.gen_srcs] diff --git a/shim/third-party/rust/fixups/termwiz/fixups.toml b/shim/third-party/rust/fixups/termwiz/fixups.toml deleted file mode 100644 index fdba1eb2..00000000 --- a/shim/third-party/rust/fixups/termwiz/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -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 deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/test-case/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/tiny-keccak/fixups.toml b/shim/third-party/rust/fixups/tiny-keccak/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/tiny-keccak/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/tokio-stream/fixups.toml b/shim/third-party/rust/fixups/tokio-stream/fixups.toml deleted file mode 100644 index a1f4f0e7..00000000 --- a/shim/third-party/rust/fixups/tokio-stream/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -# 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 deleted file mode 100644 index af7edb27..00000000 --- a/shim/third-party/rust/fixups/tokio-util/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -extra_srcs = ["src/**/*.rs"] diff --git a/shim/third-party/rust/fixups/tokio/fixups.toml b/shim/third-party/rust/fixups/tokio/fixups.toml deleted file mode 100644 index d69dcefd..00000000 --- a/shim/third-party/rust/fixups/tokio/fixups.toml +++ /dev/null @@ -1,8 +0,0 @@ -cfgs = ["tokio_unstable", "tokio_track_caller"] - -extra_srcs = ["src/**/*.rs"] - -buildscript = [] -features = ["tokio_track_caller"] - -extra_deps = [ ":tracing" ] diff --git a/shim/third-party/rust/fixups/tonic/fixups.toml b/shim/third-party/rust/fixups/tonic/fixups.toml deleted file mode 100644 index 41439d33..00000000 --- a/shim/third-party/rust/fixups/tonic/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 28683dbe..00000000 --- a/shim/third-party/rust/fixups/tracing-subscriber/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -# 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 deleted file mode 100644 index ac9ebfb4..00000000 --- a/shim/third-party/rust/fixups/trybuild/fixups.toml +++ /dev/null @@ -1,2 +0,0 @@ -[[buildscript]] -[buildscript.gen_srcs] diff --git a/shim/third-party/rust/fixups/windows-targets/fixups.toml b/shim/third-party/rust/fixups/windows-targets/fixups.toml deleted file mode 100644 index b3555c77..00000000 --- a/shim/third-party/rust/fixups/windows-targets/fixups.toml +++ /dev/null @@ -1,3 +0,0 @@ -[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 deleted file mode 100644 index f40e9f9c..00000000 --- a/shim/third-party/rust/fixups/windows_aarch64_gnullvm/fixups.toml +++ /dev/null @@ -1,8 +0,0 @@ -buildscript = [] - -[platform_fixup.'cfg(all(target_os = "linux", target_arch = "aarch64"))'] -version = "=0.48.0" -[[platform_fixup.'cfg(all(target_os = "linux", target_arch = "aarch64"))'.buildscript]] -[platform_fixup.'cfg(all(target_os = "linux", target_arch = "aarch64"))'.buildscript.prebuilt_cxx_library] -name = "libwindows" -static_libs = ["lib/libwindows.0.48.0.a"] diff --git a/shim/third-party/rust/fixups/winreg/fixups.toml b/shim/third-party/rust/fixups/winreg/fixups.toml deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/winreg/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/zerocopy/fixups.toml b/shim/third-party/rust/fixups/zerocopy/fixups.toml deleted file mode 100644 index 41439d33..00000000 --- a/shim/third-party/rust/fixups/zerocopy/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index db40d72c..00000000 --- a/shim/third-party/rust/fixups/zstd-safe/fixups.toml +++ /dev/null @@ -1 +0,0 @@ -buildscript = [] diff --git a/shim/third-party/rust/fixups/zstd-sys/fixups.toml b/shim/third-party/rust/fixups/zstd-sys/fixups.toml deleted file mode 100644 index 164b6a72..00000000 --- a/shim/third-party/rust/fixups/zstd-sys/fixups.toml +++ /dev/null @@ -1,114 +0,0 @@ -buildscript = [] - -[[platform_fixup.'cfg(not(all(target_os = "windows", target_env = "msvc")))'.buildscript]] -[platform_fixup.'cfg(not(all(target_os = "windows", target_env = "msvc")))'.buildscript.cxx_library] -name = "zstd" -srcs = [ - "zstd/lib/common/debug.c", - "zstd/lib/common/entropy_common.c", - "zstd/lib/common/error_private.c", - "zstd/lib/common/fse_decompress.c", - "zstd/lib/common/pool.c", - "zstd/lib/common/threading.c", - #"zstd/lib/common/xxhash.c", - "zstd/lib/common/zstd_common.c", - "zstd/lib/compress/**/*.c", - "zstd/lib/decompress/**/*.c", - "zstd/lib/decompress/huf_decompress_amd64.S", - "zstd/lib/dictBuilder/**/*.c", - "zstd/lib/legacy/**/*.c", -] -headers = [ - "zdict.h", - "zstd.h", - "zstd/lib/common/bitstream.h", - "zstd/lib/common/compiler.h", - "zstd/lib/common/cpu.h", - "zstd/lib/common/debug.h", - "zstd/lib/common/error_private.h", - "zstd/lib/common/fse.h", - "zstd/lib/common/huf.h", - "zstd/lib/common/mem.h", - "zstd/lib/common/pool.h", - "zstd/lib/common/portability_macros.h", - "zstd/lib/common/threading.h", - #"zstd/lib/common/xxhash.h", - "zstd/lib/common/zstd_deps.h", - "zstd/lib/common/zstd_internal.h", - "zstd/lib/common/zstd_trace.h", - "zstd/lib/compress/**/*.h", - "zstd/lib/decompress/**/*.h", - "zstd/lib/deprecated/zbuff.h", - "zstd/lib/dictBuilder/cover.h", - "zstd/lib/dictBuilder/divsufsort.h", - "zstd/lib/legacy/**/*.h", - "zstd/lib/zdict.h", - "zstd/lib/zstd_errors.h", - "zstd/lib/zstd.h", -] -compiler_flags = [ - "-O3", - "-DZSTD_LIB_DEPRECATED=0", - "-fvisibility=hidden", - "-DXXH_PRIVATE_API=", - "-DZSTDLIB_VISIBILITY=", - "-DZDICTLIB_VISIBILITY=", - "-DZSTDERRORLIB_VISIBILITY=", - "-DZSTD_LEGACY_SUPPORT=1" -] - -[[platform_fixup.'cfg(all(target_os = "windows", target_env = "msvc"))'.buildscript]] -[platform_fixup.'cfg(all(target_os = "windows", target_env = "msvc"))'.buildscript.cxx_library] -name = "zstd-msvc" -srcs = [ - "zstd/lib/common/debug.c", - "zstd/lib/common/entropy_common.c", - "zstd/lib/common/error_private.c", - "zstd/lib/common/fse_decompress.c", - "zstd/lib/common/pool.c", - "zstd/lib/common/threading.c", - #"zstd/lib/common/xxhash.c", - "zstd/lib/common/zstd_common.c", - "zstd/lib/compress/**/*.c", - "zstd/lib/decompress/**/*.c", - #"zstd/lib/decompress/huf_decompress_amd64.S", - "zstd/lib/dictBuilder/**/*.c", - "zstd/lib/legacy/**/*.c", -] -headers = [ - "zdict.h", - "zstd.h", - "zstd/lib/common/bitstream.h", - "zstd/lib/common/compiler.h", - "zstd/lib/common/cpu.h", - "zstd/lib/common/debug.h", - "zstd/lib/common/error_private.h", - "zstd/lib/common/fse.h", - "zstd/lib/common/huf.h", - "zstd/lib/common/mem.h", - "zstd/lib/common/pool.h", - "zstd/lib/common/portability_macros.h", - "zstd/lib/common/threading.h", - #"zstd/lib/common/xxhash.h", - "zstd/lib/common/zstd_deps.h", - "zstd/lib/common/zstd_internal.h", - "zstd/lib/common/zstd_trace.h", - "zstd/lib/compress/**/*.h", - "zstd/lib/decompress/**/*.h", - "zstd/lib/deprecated/zbuff.h", - "zstd/lib/dictBuilder/cover.h", - "zstd/lib/dictBuilder/divsufsort.h", - "zstd/lib/legacy/**/*.h", - "zstd/lib/zdict.h", - "zstd/lib/zstd_errors.h", - "zstd/lib/zstd.h", -] -compiler_flags = [ - "/O2", - "-DZSTD_LIB_DEPRECATED=0", - "-DXXH_PRIVATE_API=", - "-DZSTDLIB_VISIBILITY=", - "-DZDICTLIB_VISIBILITY=", - "-DZSTDERRORLIB_VISIBILITY=", - "-DZSTD_LEGACY_SUPPORT=1" -]