← Back to index
|
Original Bugzilla link
Bug 23881 – std.system has no function for system architecture
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2023-05-03T15:48:00Z
Last change time
2023-05-09T12:37:37Z
Keywords
pull
Assigned to
No Owner
Creator
elpenguino+D
Comments
Comment #0
by elpenguino+D — 2023-05-03T15:48:00Z
std.system has functions for operating system and endianness, but none for CPU architecture.
Comment #1
by dlang-bot — 2023-05-03T16:24:01Z
@Herringway created dlang/phobos pull request #8744 "fix issue 23881: add std.system.cpu and std.system.CPU" fixing this issue: - fix issue 23881: add std.system.cpu and std.system.CPU
https://github.com/dlang/phobos/pull/8744
Comment #2
by maxhaton — 2023-05-03T20:29:52Z
https://dlang.org/phobos/core_cpuid.html#.isX86_64
Some features are available.
Comment #3
by dlang-bot — 2023-05-09T12:37:37Z
dlang/phobos pull request #8744 "fix issue 23881: add std.system.instructionSetArchitecture and std.system.ISA" was merged into master: - 57fa167e79ec7d3478c8ffcfc3e62157c7bf957c by Cameron Ross: fix issue 23881: add std.system.instructionSetArchitecture and std.system.ISA
https://github.com/dlang/phobos/pull/8744