Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

core.sys.linux.perf_event: Remove import of std.bitmanip #3620

Merged
merged 1 commit into from
Nov 10, 2021
Merged

core.sys.linux.perf_event: Remove import of std.bitmanip #3620

merged 1 commit into from
Nov 10, 2021

Conversation

ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented Nov 10, 2021

Fixes build on BigEndian targets.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @ibuclaw!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + druntime#3620"

@dlang-bot dlang-bot merged commit 1a2f215 into dlang:master Nov 10, 2021
@ibuclaw ibuclaw deleted the perf/bigendian branch November 10, 2021 14:01
@@ -2073,8 +2073,6 @@ else

struct
{
import std.bitmanip : bitfields;

/* mixin(bitfields!(ulong, "mem_rsvd", 24, ulong, "mem_snoopx", 2, ulong,
Copy link
Member

Choose a reason for hiding this comment

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

I would have just moved the /* before the import, as the bitfields comment is just for easier maintenance (if you need to regenerate the code for some reason).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants