Skip to content

python3 setup.py bdist_wheel error while building using rustup nightly #3

@danindiana

Description

@danindiana

rustup run nightly rustc --version
rustc 1.34.0-nightly (c1c3c4e95 2019-01-29)

Example of the output:

error: attribute must be of the form #[target_feature(enable = "name")]
--> /home/johnh/.cargo/registry/src/github.com-1ecc6299db9ec823/stdsimd-0.0.3/src/x86/tbm.rs:209:1
|
209 | #[target_feature = "+tbm"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^

error: attribute must be of the form #[target_feature(enable = "name")]
--> /home/johnh/.cargo/registry/src/github.com-1ecc6299db9ec823/stdsimd-0.0.3/src/x86/tbm.rs:221:1
|
221 | #[target_feature = "+tbm"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^

error: attribute must be of the form #[target_feature(enable = "name")]
--> /home/johnh/.cargo/registry/src/github.com-1ecc6299db9ec823/stdsimd-0.0.3/src/x86/tbm.rs:232:1
|
232 | #[target_feature = "+tbm"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^

error: attribute must be of the form #[target_feature(enable = "name")]
--> /home/johnh/.cargo/registry/src/github.com-1ecc6299db9ec823/stdsimd-0.0.3/src/x86/tbm.rs:244:1
|
244 | #[target_feature = "+tbm"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^

error: attribute must be of the form #[target_feature(enable = "name")]
--> /home/johnh/.cargo/registry/src/github.com-1ecc6299db9ec823/stdsimd-0.0.3/src/x86/tbm.rs:255:1
|
255 | #[target_feature = "+tbm"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 750 previous errors

error: Could not compile stdsimd.
warning: build failed, waiting for other jobs to finish...
error: build failed

python3 version 3.6.8

pip list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
cffi (1.11.5)
milksnake (0.1.5)
Pillow (5.4.1)
pip (9.0.1)
pkg-resources (0.0.0)
pycparser (2.19)
rustface (0.1.0)
setuptools (39.0.1)
wheel (0.32.3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions