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

Drop the compile-fail test #236

Closed
wants to merge 1 commit into from
Closed

Conversation

lnicola
Copy link
Member

@lnicola lnicola commented Jan 3, 2022

There is a single trybuild test but it's very fragile because the
error messages tend to change. Since there's no multi-baseline
support in trybuild, this makes supporting multiple compiler
versions impossible.

  • I agree to follow the project's code of conduct.
  • I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

CC #231

There is a single `trybuild` test but it's very fragile because the
error messages tend to change. Since there's no multi-baseline
support in `trybuild`, this makes supporting multiple compiler
versions impossible.
@lnicola
Copy link
Member Author

lnicola commented Jan 3, 2022

bors try

@lnicola
Copy link
Member Author

lnicola commented Jan 3, 2022

r? @jdroenner

@lnicola lnicola closed this Jan 3, 2022
@lnicola lnicola deleted the rm-trybuild branch January 3, 2022 13:56
@bors
Copy link
Contributor

bors bot commented Jan 19, 2022

try

Merge conflict.

@lnicola lnicola mentioned this pull request Oct 31, 2022
2 tasks
bors bot added a commit that referenced this pull request Oct 31, 2022
329: Drop `trybuild` test r=jdroenner a=lnicola

- [x] I agree to follow the project's [code of conduct](https://github.com/georust/gdal/blob/master/CODE_OF_CONDUCT.md).
- [ ] I added an entry to `CHANGES.md` if knowledge of this change could be valuable to users.
---

Follow-up to #236
Closes #312

`trybuild` sounds nice, however:

 - it doesn't work (out of the box) with multiple compiler versions, so it breaks when upgrading compilers: #234
 - when testing with `--all-features`, it causes the code to be rebuilt twice
 - I've seen it give some weird errors in unusual circumstances (under `gdb`, maybe?)
 - it's completely broken for `@metasim` (#312), but not on CI, see also #312 (comment)
 - 1.5 years later, we still only have one test

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
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.

None yet

1 participant