Skip to content

Conversation

@xxuejie
Copy link
Contributor

@xxuejie xxuejie commented Mar 11, 2025

What native-simulator feature really means for a contract template, is that the contract shall be built as a native library crate. Apart from native simulators, there might well be other cases where a library crate is desired(e.g., fuzzing with sanitizers). This change change the code so a generic library feature sets up the code as a library crate. The native-simulator feature simple activates library feature.

What `native-simulator` feature really means for a contract template, is
that the contract shall be built as a native library crate. Apart from
native simulators, there might well be other cases where a library crate
is desired(e.g., fuzzing with sanitizers). This change change the code
so a generic `library` feature sets up the code as a library crate. The
`native-simulator` feature simple activates `library` feature.
@xxuejie xxuejie requested review from XuJiandong and joii2020 March 11, 2025 01:21
@xxuejie xxuejie merged commit f9cb1f7 into main Mar 11, 2025
8 checks passed
@xxuejie xxuejie deleted the use-generic-library-feature branch March 11, 2025 05:30
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.

3 participants