Skip to content

Conversation

@joncinque
Copy link
Contributor

Problem

The interface crate is marked with cdylib, which makes it impossible to run LTO with the rust compiler. Since it isn't a program, it doesn't need to have the cdylib target.

Summary of changes

Remove the cdylib target.

#### Problem

The interface crate is marked with `cdylib`, which makes it impossible
to run LTO with the rust compiler. Since it isn't a program, it doesn't
need to have the cdylib target.

#### Summary of changes

Remove the cdylib target.
@joncinque joncinque requested a review from buffalojoec August 12, 2025 11:34
@joncinque joncinque merged commit 61106e9 into solana-program:main Aug 12, 2025
10 checks passed
@joncinque joncinque deleted the no-cdylib branch August 12, 2025 11:53
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