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

Ensure the safety of unsafe blocks #93

Merged
merged 2 commits into from
Jan 30, 2020

Conversation

hug-dev
Copy link
Member

@hug-dev hug-dev commented Jan 28, 2020

Checks all unsafe uses and comment why it is safe to use unsafe in the
specific context.
Refactors the utils module to make it easier to prove safety.

Signed-off-by: Hugues de Valon hugues.devalon@arm.com

Checks all unsafe uses and comment why it is safe to use unsafe in the
specific context.
Refactors the utils module to make it easier to prove safety.

Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
@hug-dev hug-dev added the enhancement New feature or request label Jan 28, 2020
@hug-dev hug-dev added this to the Parsec production ready milestone Jan 28, 2020
@hug-dev hug-dev self-assigned this Jan 28, 2020
It should be easier to see why a test was wrong reading the logs. The
verbose output of the cargo commands is only needed when things do not
compile.
To not enable logging on stress tests, the environment variables are
used.

Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
Copy link
Member

@ionut-arm ionut-arm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 I'm ok with the changes. We did have a conversation about how to deal with having a Rust native and a FFI key attributes structure (i.e. which one is used where?), but we'll defer resolution on that to #62

@hug-dev hug-dev merged commit a90fc7e into parallaxsecond:master Jan 30, 2020
@hug-dev hug-dev deleted the check-unsafe branch January 30, 2020 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants