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
This repository was archived by the owner on Nov 25, 2025. It is now read-only.
/zig-bootstrapPublic archive

Comments

add build script parameter to set ZIG_OPTIMIZE_MODE#168

Open
nektro wants to merge 1 commit intoziglang:masterfrom
nektro:nektro-patch-58776
Open

add build script parameter to set ZIG_OPTIMIZE_MODE#168
nektro wants to merge 1 commit intoziglang:masterfrom
nektro:nektro-patch-58776

Conversation

@nektro
Copy link

Comment on lines -198 to 200
-Dstatic-llvm \
-Doptimize=ReleaseFast \
-Doptimize="$ZIG_OPTIMIZE_MODE" \
-Dstrip \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

One potential issue I see with this PR is this. I would assume that the motivation for distributing e.g. aReleaseSafe build of the compiler is that we can get useful stack traces when something goes wrong on the user's machine. It seems like-Dstrip undermines that.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

good catch

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

but andrew has expressed not wanting to add branching to this script, so that leaves the open question of if the-Dstrip should be removed unconditionally and-Dopotimize changed to ReleaseSafe always and the option removed in the wake of the acceptance of 15194

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

1 more reviewer

@alexrpalexrpalexrp left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@nektro@alexrp

[8]ページ先頭

©2009-2026 Movatter.jp