mirror of
https://github.com/dlang/dmd.git
synced 2025-04-25 12:40:11 +03:00
druntime: add support for musl RISCV64 (#21213)
Based on https://git.musl-libc.org/cgit/musl/tree/arch/riscv64/bits?h=v1.2.5
This commit is contained in:
parent
09864e4c35
commit
81dd72b2a3
2 changed files with 10 additions and 0 deletions
|
@ -440,6 +440,11 @@ else version (CRuntime_Musl)
|
|||
}
|
||||
alias uint fexcept_t;
|
||||
}
|
||||
else version (RICV64)
|
||||
{
|
||||
alias uint fenv_t;
|
||||
alias uint fexcept_t;
|
||||
}
|
||||
else
|
||||
{
|
||||
static assert(false, "Architecture not supported.");
|
||||
|
|
|
@ -2763,6 +2763,11 @@ else version (CRuntime_Musl)
|
|||
enum MINSIGSTKSZ = 4096;
|
||||
enum SIGSTKSZ = 16384;
|
||||
}
|
||||
else version (RISCV64)
|
||||
{
|
||||
enum MINSIGSTKSZ = 2048;
|
||||
enum SIGSTKSZ = 8192;
|
||||
}
|
||||
else
|
||||
static assert(0, "unimplemented");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue