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: Detect target features instead of host features #5

Merged
merged 1 commit into from
Sep 10, 2019

Conversation

xxuejie
Copy link
Collaborator

@xxuejie xxuejie commented Sep 10, 2019

Current code actually detects features on the host, not the
target. While this works since we are only compiling on x86_64 for
x86_64, it will run into problems when we are trying to cross-compile
this crate for other targets, such as wasm. This commit fixes the problem.

Current code actually detects features on the host, not the
target. While this works since we are only compiling on x86_64 for
x86_64, it will run into problems when we are trying to cross-compile
this crate for other targets, such as wasm. This commit fixes the problem.
@zhangsoledad zhangsoledad merged commit 1dcfaf5 into develop Sep 10, 2019
@xxuejie xxuejie deleted the detect-target-feature-instead-of-host-feature branch September 10, 2019 07:13
bors bot added a commit to nervosnetwork/ckb that referenced this pull request Sep 10, 2019
1575: chore: Bump faster-hex and blake2b-rs versions r=zhangsoledad,u2,yangby-cryptape a=xxuejie

Related changes:

nervosnetwork/faster-hex#9
nervosnetwork/blake2b-rs#5

Co-authored-by: Xuejie Xiao <xxuejie@gmail.com>
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.

None yet

2 participants