Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Build on musl, using GNU make and target feature "feat_os_unix_musl".#7900

Answeredbylidgnulinux
lidgnulinux asked this question inQ&A
Discussion options

Hello, I'm not familiar with RUST build. How to put target-featurefeat_os_unix_musl on RUSTFLAGS when building using GNU make instead of cargo ? Thanks.
I tried thisRUSTFLAGS="-C target-feature=+feat_os_unix_musl", but it seems unrecognized. I'm using0.0.30 release.

'+feat_os_unix_musl' is not a recognized feature for this target (ignoring feature)

I'm using cargo from rustup.

You must be logged in to vote

Solved by just skipping some utils likepinky uptime users who stdbuf usingSKIP_UTILS option.

make SKIP_UTILS="pinky uptime users who stdbuf"

Replies: 3 comments

Comment options

I think I need to usefeat_os_unix. I don't know where I need to put it on rust flags env.

You must be logged in to vote
0 replies
Comment options

I useRUSTFLAGS="-Ctarget-feature=+feat_os_unix" and still get unrecognized feature error.

You must be logged in to vote
0 replies
Comment options

Solved by just skipping some utils likepinky uptime users who stdbuf usingSKIP_UTILS option.

make SKIP_UTILS="pinky uptime users who stdbuf"
You must be logged in to vote
0 replies
Answer selected bylidgnulinux
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
1 participant
@lidgnulinux

[8]ページ先頭

©2009-2025 Movatter.jp