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

refactor!: use cfg(nightly) instead of feature, remove -Z flag, use Diagnostic::try_emit #1606

Merged
merged 7 commits into from
Dec 12, 2024

Conversation

MingweiSamuel
Copy link
Member

@MingweiSamuel MingweiSamuel commented Dec 11, 2024

Previous PR (#1587) website build did not work because panic = "abort" is set on wasm, leading to aborts for proc_macro2::Span::unwrap() calls.

All tests except trybuild seem to pass on stable, WIP #1587 next

BREAKING CHANGE: replaces hydroflow_lang::diagnostic::Diagnostic::emit with try_emit
BREAKING CHANGE: removes features: hydroflow/nightly, hydroflow_datalog/diagnostics, hydroflow_datalog_core/diagnostics, hydroflow_lang/diagnostics, hydroflow_macro/diagnostics, hydroflow_plus/diagnostics.

@MingweiSamuel MingweiSamuel changed the title ci!: test stable, use cfg(nightly) instead of nightly build!: use cfg(nightly) instead of feature, Diagnostic::try_emit Dec 11, 2024
@MingweiSamuel MingweiSamuel force-pushed the nightly-no-feature branch 2 times, most recently from d097dd4 to 358632e Compare December 11, 2024 22:32
@MingweiSamuel MingweiSamuel requested a review from shadaj December 11, 2024 23:11
@MingweiSamuel MingweiSamuel marked this pull request as ready for review December 11, 2024 23:11
@MingweiSamuel MingweiSamuel changed the title build!: use cfg(nightly) instead of feature, Diagnostic::try_emit build!: use cfg(nightly) instead of feature, remove -Z flag, use Diagnostic::try_emit Dec 11, 2024
@MingweiSamuel MingweiSamuel changed the title build!: use cfg(nightly) instead of feature, remove -Z flag, use Diagnostic::try_emit refactor!: use cfg(nightly) instead of feature, remove -Z flag, use Diagnostic::try_emit Dec 11, 2024
@MingweiSamuel MingweiSamuel merged commit 251b103 into hydro-project:main Dec 12, 2024
13 checks passed
@MingweiSamuel MingweiSamuel deleted the nightly-no-feature branch December 12, 2024 18:21
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.

2 participants