Skip to content

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Oct 16, 2021

In the current master, when the feature that cannot be detected at run-time is specified, "nort_feature feature" is mentioned instead of the specified feature name.

Code:

#![feature(stdsimd, arm_target_feature)]

fn f() {
    let _ = is_arm_feature_detected!("v7");
}

Command:

cross build --target arm-unknown-linux-gnueabi

Error(master):

error: nort_feature feature cannot be detected at run-time

Error(this PR):

error: "v7" feature cannot be detected at run-time

@rust-highfive
Copy link

r? @Amanieu

(rust-highfive has picked a reviewer for you, use r? to override)

@Amanieu Amanieu merged commit e95bdf1 into rust-lang:master Oct 16, 2021
@taiki-e taiki-e deleted the error branch October 16, 2021 21:32
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.

3 participants