Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Assorted cleanup work #74

Merged
merged 4 commits into from
Jan 3, 2024
Merged

Conversation

xxuejie
Copy link
Collaborator

@xxuejie xxuejie commented Jan 2, 2024

  • Remove dummy-libc and rustc-dep-of-std features, since ckb-contract-toolchains has been deprecated, we are not using patched Rust with target_os = ckb anymore
  • dlopen-c is no longer a default feature, notice there is implication to this: dlopen-c as a feature used to help us bring in libc implementations. When simply removing dlopen-c, some contracts might break due to not having libc impls. This change adds another default feature libc which preserves a linked-by-default libc impl. This way, dlopen-c can be safely removed from default feature set

* Remove dummy-libc and rustc-dep-of-std features, since
ckb-contract-toolchains has been deprecated, we are not using patched
Rust with `target_os = ckb` anymore
* dlopen-c is no longer a default feature, notice there is implication
to this: dlopen-c as a feature used to help us bring in libc
implementations. When simply removing dlopen-c, some contracts might
break due to not having libc impls. This change adds another default
feature `libc` which preserves a linked-by-default libc impl. This
way, dlopen-c can be safely removed from default feature set
@xxuejie xxuejie requested review from quake, XuJiandong and jjyr January 2, 2024 07:23
@xxuejie xxuejie merged commit 8495d6b into nervosnetwork:master Jan 3, 2024
2 checks passed
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