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

Delete alloc feature #156

Merged
merged 1 commit into from
Dec 23, 2019
Merged

Delete alloc feature #156

merged 1 commit into from
Dec 23, 2019

Conversation

philipc
Copy link
Contributor

@philipc philipc commented Dec 23, 2019

addr2line can't do anything useful without allocating, and the alloc crate
is now stable, so having a separate alloc feature is not required.
Instead, you should simply disable all features.

Also fix cargo test with features disabled.

Note that the object feature currently requires std. This will be
relaxed in future once the following are addressed:

  • the object crate needs updating for its alloc feature to work on stable
  • the stable_deref_trait crate needs a new release for its alloc
    feature to work on stable

addr2line can't do anything useful without allocating, and the alloc crate
is now stable, so having a separate alloc feature is not required.
Instead, you should simply disable all features.

Also fix `cargo test` with features disabled.

Note that the `object` feature currently requires std. This will be
relaxed in future once the following are addressed:
- the `object` crate needs updating for its `alloc` feature to work on stable
- the `stable_deref_trait` crate needs a new release for its `alloc`
feature to work on stable
@philipc philipc requested a review from fitzgen December 23, 2019 09:38
@coveralls
Copy link

Coverage Status

Coverage remained the same at 81.688% when pulling bd20153 on philipc:alloc into dca4b90 on gimli-rs:master.

Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@fitzgen fitzgen merged commit bc9ffed into gimli-rs:master Dec 23, 2019
@philipc philipc mentioned this pull request Jan 11, 2020
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.

None yet

3 participants