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

Fix linting support on Apple Silicon #489

Merged
merged 3 commits into from
Apr 5, 2022
Merged

Fix linting support on Apple Silicon #489

merged 3 commits into from
Apr 5, 2022

Conversation

athei
Copy link
Contributor

@athei athei commented Apr 4, 2022

Fixes #478

Apple Silicon wasn't defined in the config.toml of our linting project. And hence dylint-link wasn't used to produce the binary. I also added a hand full of other common architectures.

This won't fix the windows CI, though. I am not sure what is up with that.

build.rs Outdated Show resolved Hide resolved
@cmichi
Copy link
Collaborator

cmichi commented Apr 5, 2022

@athei I've created this debugging PR based on yours. For Windows there are two files in the folder: ink_linting.dll and ink_linting@nightly-2021-11-04-x86_64-pc-windows-msvc.dll. No libink_linting@… though. Maybe that's why the Windows CI fails?

https://github.com/paritytech/cargo-contract/runs/5827726812?check_suite_focus=true#step:8:1103

@cmichi
Copy link
Collaborator

cmichi commented Apr 5, 2022

@athei The CI runs through on my debugging PR, so I think if you copy the regex change over it should be fine.

Copy link
Collaborator

@cmichi cmichi left a comment

Choose a reason for hiding this comment

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

Great that you found it!

@cmichi cmichi merged commit 7f6568d into master Apr 5, 2022
@cmichi cmichi deleted the at-fix-m1 branch April 5, 2022 08:22
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.

Error: Could not find --lib ink_linting
2 participants