Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C: Add option to generate separate header #960

Merged
merged 1 commit into from
Feb 5, 2025
Merged

C: Add option to generate separate header #960

merged 1 commit into from
Feb 5, 2025

Conversation

Alasdair
Copy link
Collaborator

@Alasdair Alasdair commented Feb 5, 2025

The --c-generate-header flag means we will generate a .h file alongside the .c file normally produced.

The behaviour of the C backend now more closely matches other Sail backends which will use out as the default basename when no -o flag is set. The output is still echoed to stdout, but this behaviour now comes with a deprecation warning.

Also add a --c-header-include flag for includes in the generated header.

The --c-generate-header flag means we will generate a `.h` file
alongside the `.c` file normally produced.

The behaviour of the C backend now more closely matches other
Sail backends which will use `out` as the default basename when
no `-o` flag is set. The output is still echoed to stdout, but this
behaviour now comes with a deprecation warning.

Also add a --c-header-include flag for includes in the generated
header.
Copy link

github-actions bot commented Feb 5, 2025

Test Results

   12 files  ±  0     25 suites  +1   0s ⏱️ ±0s
  762 tests ±  0    762 ✅ ±  0  0 💤 ±0  0 ❌ ±0 
2 706 runs  +193  2 706 ✅ +193  0 💤 ±0  0 ❌ ±0 

Results for commit 5be009f. ± Comparison against base commit 54d6aab.

♻️ This comment has been updated with latest results.

@Alasdair Alasdair merged commit e4386bb into sail2 Feb 5, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant