Skip to content

rust: build std #590

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

Closed
wants to merge 1 commit into from
Closed

Conversation

Andarwinux
Copy link

@Andarwinux Andarwinux commented Jan 8, 2024

No description provided.

@Andarwinux Andarwinux marked this pull request as draft January 8, 2024 13:39
@Andarwinux Andarwinux marked this pull request as ready for review January 8, 2024 15:42
@Andarwinux Andarwinux force-pushed the rust-build-std branch 2 times, most recently from 9bc565d to 2e098e4 Compare January 9, 2024 14:33
@Andarwinux Andarwinux marked this pull request as draft January 10, 2024 16:42
@Andarwinux Andarwinux force-pushed the rust-build-std branch 2 times, most recently from 2e098e4 to 2688299 Compare January 10, 2024 18:01
@Andarwinux Andarwinux marked this pull request as ready for review January 10, 2024 18:03
@Andarwinux Andarwinux force-pushed the rust-build-std branch 6 times, most recently from e99a156 to 925aaff Compare January 13, 2024 09:00
@Andarwinux Andarwinux force-pushed the rust-build-std branch 2 times, most recently from 6c2c0b4 to 8508d43 Compare January 13, 2024 11:55
@shinchiro
Copy link
Owner

@shinchiro
Copy link
Owner

Well, I still dont like the flags since it can potentially increase binary size for no reason. Remove it

@Andarwinux Andarwinux closed this Jan 20, 2024
@Andarwinux Andarwinux deleted the rust-build-std branch January 21, 2024 23:30
@Andarwinux Andarwinux restored the rust-build-std branch January 22, 2024 14:18
@Andarwinux Andarwinux reopened this Jan 23, 2024
@Andarwinux Andarwinux requested a review from shinchiro January 23, 2024 14:41
@shinchiro
Copy link
Owner

shinchiro commented Jan 24, 2024

There is a bug in cfguard

Thats my concern with these flags when it is introduced. I'll remove the cfguard from compiler flags soon

1. unlock -Z option support.
2. download rust-src, for build rust stdlib from source.
3. enable parallel-rustc, for faster compile.
4. libdovi,rav1e: enable build-std, use gnullvm target for clang.

This will unlock aarch64 support.
build-std is for unlocking gnullvm target,
but gnu target can also use this to get latest std and some linker opt from gcc/clang wrapper for free.
@Andarwinux Andarwinux closed this Feb 3, 2024
@Andarwinux Andarwinux deleted the rust-build-std branch February 3, 2024 12:07
@Andarwinux Andarwinux restored the rust-build-std branch February 4, 2024 17:28
@Andarwinux Andarwinux reopened this Feb 4, 2024
@Andarwinux Andarwinux closed this Feb 9, 2024
@Andarwinux Andarwinux deleted the rust-build-std branch February 9, 2024 09:11
@Andarwinux Andarwinux restored the rust-build-std branch March 7, 2024 11:48
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.

2 participants