microsoft / microsoft/rust-symcrypt

Remove CI to generate symcrypt build files.

Open
#76 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
72
Forks
15
Avg merge
3d 2h
Merged PRs (30d)
11

Description

As part of the symcrypt static link, symcrypt_internal_shared.inc, buildInfo.h and .asm files need to be generated.

For now we are generating and committing to the repo symcrypt_internal_shared.inc and buildInfo.h. via scripts/generate-all-bindings.ps1 which is subsequently called on bindgen.yml

When SymCrypt checks in the required files, we must

  1. remove the checked in files from "./symcrypt-sys/inc/"
  2. Remove the code to generate and push files from generate-all_bindings.ps1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with symcrypt-sys/inc/ and scripts/generate-all-bindings.ps1, then inspect bindgen.yml to understand how generation is invoked. Once SymCrypt checks in the required files, remove the checked-in generated files and the generation and push steps; confirm the CI configuration no longer performs that generation.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, rust
Domain
build-system, ci-cd
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.