Skip to content
This repository was archived by the owner on Oct 26, 2021. It is now read-only.

Conversation

@haraldh
Copy link
Contributor

@haraldh haraldh commented Nov 23, 2020

  • fix(keepldr): suppress clippy warnings

    Suppress clippy warnings about Result<()>, where the functions never
    return an Err() for now.

  • fix(shim-sev): Function crt0setup does not need Result as return

    crt0setup() never returns an Err(), so remove Result from the
    return parameter, otherwise clippy will complain.

  • fix(build): Remove unnecessary return value

    rerun_src() doesn't need a return value, so remove it, because clippy
    will complain.

  • fix(shim-sev): remove naked attribute from usermode fn

    The #[naked] caused a rustc segfault. Remove it, because it was the
    wrong attribute anyway.

@haraldh
Copy link
Contributor Author

haraldh commented Nov 23, 2020

rust-lang/rust#79350

@haraldh haraldh mentioned this pull request Nov 26, 2020
@haraldh haraldh changed the title fix(shim-sev): remove naked attribute from usermode fn fix build on nightly Nov 26, 2020
The `#[naked]` caused a rustc segfault. Remove it, because it was the
wrong attribute anyway.

Signed-off-by: Harald Hoyer <[email protected]>
`rerun_src()` doesn't need a return value, so remove it, because clippy
will complain.

Signed-off-by: Harald Hoyer <[email protected]>
`crt0setup()` never returns an `Err()`, so remove `Result` from the
return parameter, otherwise clippy will complain.

Signed-off-by: Harald Hoyer <[email protected]>
Suppress clippy warnings about `Result<()>`, where the functions never
return an `Err()` for now.

Signed-off-by: Harald Hoyer <[email protected]>
@enarxbot enarxbot merged commit ec68768 into enarx-archive:master Nov 30, 2020
@haraldh haraldh deleted the no_naked_usermod branch December 10, 2020 16:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants