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

Dev container does not work on ARM based machine #33

Closed
dwhiteddsoft opened this issue Nov 10, 2022 · 1 comment · Fixed by #38
Closed

Dev container does not work on ARM based machine #33

dwhiteddsoft opened this issue Nov 10, 2022 · 1 comment · Fixed by #38
Labels
bug Something isn't working

Comments

@dwhiteddsoft
Copy link

When starting the devcontainer on a MacBook Pro M1 machine, the devcontainer fails. The problem is that tarpaulin does not work with ARM based machines. From the tarpaulin repo:

On Linux Tarpaulin's default tracing backend is still Ptrace and will only work on x86_64 processors. This can be changed to the llvm coverage instrumentation with --engine llvm, for Mac and Windows this is the default collection method.

Can we remove the last line in the Dockerfile and add documentation that if you wanted to test code coverage, you need to install that tool due to platform difference?

Expected Behavior

devcontainer should start on ARM machine

Current Behavior

devcontainer fails to start because it will not build

Steps to Reproduce

  1. Get an ARM based laptop
  2. Start devcontainer

cc: @juliays

@bastbu
Copy link
Contributor

bastbu commented Nov 14, 2022

Thanks for reporting this! The issue was reported to Tarpaulin and an (unreleased) fix is on their development branch, details can be found in the description of #38.

#38 applies your suggestion, we can revert this when Tarpaulin's fix is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants