-
Notifications
You must be signed in to change notification settings - Fork 34
all tests are failing #74
Comments
What platform is this on? I can’t reproduce on Linux x86_64. |
Fedora Rawhide (i.e. Linux x86_64). |
How did you get Rust? Do you know if your Rust standard library is using jemalloc? |
@SimonSapin |
This crate links against the The only way I can imagine removing the test’s assumption about allocation strategies is replacing e.g. Is it important that these tests pass for you? I’m tempted to remain with "tests assume jemalloc". By the way, is "we" here the Fedora package maintainers for rustc? Why make a choice different from upstream about jemalloc? |
@SimonSapin "we" == "Rust SIG" which includes package maintainers for rustc. If you are interested about some history:
About importance of tests... We do run |
For what it’s worth, the PR implementing this was closed for the moment: rust-lang/rust#38820 (comment) Are you packaging this crate? Can you have package-specific patches? What do you think of having |
Yep.
Sure!
Would be nice to have it like that. |
Fix #74 Distributions packages can maintain a local patch that sets ASSUME_JEMALLOC to false.
How does #79 look? |
@ignatenkobrain Can you pass arbitrary |
@nox definitely |
(if cargo can pass it) |
Distributions packages can use `cargo test --features flexible-tests` Fix #74
Add opt in for weaker tests, for non-jemalloc allocators. Fix #74 Distributions packages can use `cargo test --features flexible-tests` <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/heapsize/79) <!-- Reviewable:end -->
Not sure which information I should include as well.
The text was updated successfully, but these errors were encountered: