Skip to content

Changes to support building/testing fd on Illumos#1742

Merged
tmccombs merged 4 commits intosharkdp:masterfrom
nealsid:remove-illumos-jemalloc
Jun 23, 2025
Merged

Changes to support building/testing fd on Illumos#1742
tmccombs merged 4 commits intosharkdp:masterfrom
nealsid:remove-illumos-jemalloc

Conversation

@nealsid
Copy link
Copy Markdown
Contributor

@nealsid nealsid commented Jun 21, 2025

Fix for #1741: jemalloc doesn't build on Illumos, so add it to the list of excluded platforms.

Fix for sharkdp#1741: jemalloc doesn't build on Illumos, so add it to the list of excluded
platforms.
@nealsid nealsid force-pushed the remove-illumos-jemalloc branch 2 times, most recently from b79d928 to 8e9eb7e Compare June 21, 2025 21:48
@nealsid nealsid changed the title Do not use jemalloc on Illumos Changes to support building/testing fd on Illumos Jun 21, 2025
Comment thread tests/tests.rs Outdated
nealsid added 3 commits June 23, 2025 08:52
echo -n is not POSIX compliant, and this came up while running tests
on Illumos.
rmdir on illumos does not support removing the current working
directory, so this test errors out with EINVAL when calling
std::fs::remove_dir.
@nealsid nealsid force-pushed the remove-illumos-jemalloc branch 2 times, most recently from d69a759 to 654763d Compare June 23, 2025 15:46
@nealsid
Copy link
Copy Markdown
Contributor Author

nealsid commented Jun 23, 2025

@tmccombs ready to review/merge, thanks!

Comment thread tests/tests.rs Outdated
te.assert_output(
&[
"foo", "--exec", "echo", "-n", "{/}: ", ";", "--exec", "echo", "{//}",
"foo", "--exec", "printf", "{/}: ", ";", "--exec", "echo", "{//}",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
"foo", "--exec", "printf", "{/}: ", ";", "--exec", "echo", "{//}",
"foo", "--exec", "printf", "%s", "{/}: ", ";", "--exec", "printf", "%s\\n", "{//}",

@nealsid nealsid force-pushed the remove-illumos-jemalloc branch from 654763d to e76e7ff Compare June 23, 2025 19:03
@tmccombs tmccombs merged commit b7fe2ce into sharkdp:master Jun 23, 2025
19 checks passed
@nealsid nealsid deleted the remove-illumos-jemalloc branch October 13, 2025 23:00
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