Skip to content

--via-asm only on windows #90

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

Merged
merged 1 commit into from
Mar 15, 2019
Merged

Conversation

angerman
Copy link
Collaborator

fixes #86

@angerman angerman merged commit 373ac25 into master Mar 15, 2019
@angerman angerman deleted the feature/via-asm-on-windows-only branch March 15, 2019 02:38
nomeata added a commit to entropia/tip-toi-reveng that referenced this pull request Mar 15, 2019
andreabedini pushed a commit to andreabedini/haskell.nix that referenced this pull request Sep 14, 2022
This mistake was introduced in 8620365.
Where previously the (+++) operator from
https://hackage.haskell.org/package/Cabal-2.4.1.0/docs/Distribution-Compat-ReadP.html#v:-43--43--43-
was used to give no precedence to left or right,
now the <|> operator is used instead, which fails if the left fails and
won't try the right (non-backtracking).

To fix this, a try is used,
which explicitly makes the code backtrack if the left was unsuccessful.

A better fix would be possible by reading until ':', then change
behavior depending on whether "sha256" or "rev" was read
andreabedini pushed a commit to andreabedini/haskell.nix that referenced this pull request Sep 14, 2022
This mistake was introduced in e04dbd4.
Where previously the (+++) operator from
https://hackage.haskell.org/package/Cabal-2.4.1.0/docs/Distribution-Compat-ReadP.html#v:-43--43--43-
was used to give no precedence to left or right,
now the <|> operator is used instead, which fails if the left fails and
won't try the right (non-backtracking).

To fix this, a try is used,
which explicitly makes the code backtrack if the left was unsuccessful.

A better fix would be possible by reading until ':', then change
behavior depending on whether "sha256" or "rev" was read
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.

Building time with musl fails / boot packages in plan.nix?
1 participant