Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913908 - sys-apps/portage: detect Rust executables and automatically omit C/LDFLAGS for them
Summary: sys-apps/portage: detect Rust executables and automatically omit C/LDFLAGS fo...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-10 03:11 UTC by Michał Górny
Modified: 2023-09-10 03:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-09-10 03:11:15 UTC
Right now we have to explicitly put all Rust executable in QA_* stuff which frankly sucks.  Let's try to detect them directly instead, and skip these checks for them.

That said, so far my best guess for detecting files using Rust is grepping their binaries for "/rustc/" string that seems to have some magical meaning.