Skip to content

Commit

Permalink
Remove pregen SSL bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Oct 2, 2024
1 parent 76c8ff6 commit b69c92d
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 197,027 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/fips-bindings-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
env:
AWS_LC_FIPS_SYS_NO_PREFIX: "1"
run: |
cargo test -p aws-lc-fips-sys --features bindgen,ssl
cargo test -p aws-lc-fips-sys --features bindgen
- name: Collect symbols
run: |
./scripts/build/collect_symbols.sh -c aws-lc-fips-sys
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
env:
AWS_LC_FIPS_SYS_NO_PREFIX: "1"
run: |
cross test -p aws-lc-fips-sys --features bindgen,ssl --target ${{ matrix.target }}
cross test -p aws-lc-fips-sys --features bindgen --target ${{ matrix.target }}
- name: Collect symbols
run: |
./scripts/build/collect_symbols.sh -c aws-lc-fips-sys -t ${{ matrix.target }}
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
env:
AWS_LC_FIPS_SYS_PREGENERATING_BINDINGS: "1"
run: |
cargo test -p aws-lc-fips-sys --features bindgen,ssl
cargo test -p aws-lc-fips-sys --features bindgen
- name: Commit & Push changes
run: ./scripts/ci/ci_add_commit_rebase_push.sh "Generated bindings from ${{ matrix.os }}"
generate-cross-bindings-and-commit:
Expand All @@ -147,6 +147,6 @@ jobs:
env:
AWS_LC_FIPS_SYS_PREGENERATING_BINDINGS: "1"
run: |
cross test -p aws-lc-fips-sys --features bindgen,ssl --target ${{ matrix.target }}
cross test -p aws-lc-fips-sys --features bindgen --target ${{ matrix.target }}
- name: Commit & Push changes
run: ./scripts/ci/ci_add_commit_rebase_push.sh "Generated bindings for ${{ matrix.target }}"
5 changes: 4 additions & 1 deletion aws-lc-fips-sys/builder/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,10 @@ fn main() {
if is_pregenerating_bindings() {
#[cfg(feature = "bindgen")]
{
emit_warning(&format!("Generating src bindings. Platform: {}", target()));
emit_warning(&format!(
"Generating src bindings. Platform: '{}' Prefix: '{prefix:?}'",
target()
));
let src_bindings_path = Path::new(&manifest_dir).join("src");
generate_src_bindings(&manifest_dir, &prefix, &src_bindings_path);
bindings_available = true;
Expand Down
Loading

0 comments on commit b69c92d

Please sign in to comment.