Skip to content

[RFC] Use trybuild to test against some invariants #27

@dragonJACson

Description

@dragonJACson

There are a lot of invariants we need to take into account in our implementation, such as, only one PostSendGuard should exist at the same time, WorkRequestHandle and any OpHandle should also be consumed before creating another one. We can use trybuild to create some illegal programs to test against these. With these programs + CI, we can make our implementation keep working as expected, and show users what usage is not possible.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions