Skip to content

Proposal: Free Sema from worrying about link inputs #23971

Open
@alexrp

Description

@alexrp

In a nutshell, remove all of this code.

I think it's really bizarre that comptime evaluation of Zig code can have any effect whatsoever on the compilation's link inputs. This should just not be Sema's job IMO. We like explicitness in Zig, so it's better for users to be explicit about their link inputs on the CLI or in build.zig anyway.

cc @andrewrk @mlugg

Metadata

Metadata

Assignees

Labels

acceptedThis proposal is planned.proposalThis issue suggests modifications. If it also has the "accepted" label then it is planned.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions