Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix replay command in MacOS The replay command wasn't working on MacOS because the HostIO symbols were striped from cargo-stylus. To fix this issue, we have to disable stripping in the release profile. This fixes introduces the following warning: warning: profiles for the non root package will be ignored We have to edit the profile in the non-root package because the root package is ignored during cargo install. Otherwise, the solution won't work after the package is published to crates.io. More information about this issue is available here: * rust-lang/cargo#8264 * rust-lang/cargo#11599 * Fix missing symbols in MacOS Add #[used] static variables pointing to the exported functions so the linked doesn't remove them from the final binary. * Revert "Fix replay command in MacOS" This reverts commit b489394.
- Loading branch information