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

Run CI on stable Rust rather than latest nightly #1587

Closed
shadaj opened this issue Nov 22, 2024 · 0 comments
Closed

Run CI on stable Rust rather than latest nightly #1587

shadaj opened this issue Nov 22, 2024 · 0 comments
Assignees
Labels

Comments

@shadaj
Copy link
Member

shadaj commented Nov 22, 2024

Some of our crates (hydroflow at least) are expected to compile on stable Rust. We should run these compilation checks in CI.

In addition, running lints on latest-nightly seems to not be worth the effort, since it just fails every build on main and we pin our nightly version in the repo and templates anyways. So we can reduce the CI burden there.

@shadaj shadaj changed the title Run CI on stable rust rather than latest nightly Run CI on stable Rust rather than latest nightly Nov 22, 2024
@MingweiSamuel MingweiSamuel self-assigned this Dec 6, 2024
MingweiSamuel added a commit that referenced this issue Dec 10, 2024
in prep for rust stable #1587

No good way to resolve the source file paths on stable

No way to get good diagnostics on external files in general, at all

rust-lang/rfcs#3200
MingweiSamuel added a commit that referenced this issue Dec 12, 2024
…se `Diagnostic::try_emit` (#1606)

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 added a commit to MingweiSamuel/hydroflow that referenced this issue Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants