| ... | @@ -1771,6 +1771,8 @@ pub const DynamicLinker = struct { | ... | @@ -1771,6 +1771,8 @@ pub const DynamicLinker = struct { |
| 1771 | .visionos, | 1771 | .visionos, |
| 1772 | => init("/usr/lib/dyld"), | 1772 | => init("/usr/lib/dyld"), |
| 1773 | | 1773 | |
| | 1774 | .serenity => init("/usr/lib/Loader.so"), |
| | 1775 | |
| 1774 | // Operating systems in this list have been verified as not having a standard | 1776 | // Operating systems in this list have been verified as not having a standard |
| 1775 | // dynamic linker path. | 1777 | // dynamic linker path. |
| 1776 | .freestanding, | 1778 | .freestanding, |
| ... | @@ -1783,7 +1785,6 @@ pub const DynamicLinker = struct { | ... | @@ -1783,7 +1785,6 @@ pub const DynamicLinker = struct { |
| 1783 | .vulkan, | 1785 | .vulkan, |
| 1784 | .other, | 1786 | .other, |
| 1785 | .plan9, | 1787 | .plan9, |
| 1786 | .serenity, | | |
| 1787 | => none, | 1788 | => none, |
| 1788 | | 1789 | |
| 1789 | // TODO revisit when multi-arch for Haiku is available | 1790 | // TODO revisit when multi-arch for Haiku is available |
| ... | @@ -2086,6 +2087,7 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 { | ... | @@ -2086,6 +2087,7 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 { |
| 2086 | .haiku, | 2087 | .haiku, |
| 2087 | .fuchsia, | 2088 | .fuchsia, |
| 2088 | .minix, | 2089 | .minix, |
| | 2090 | .serenity, |
| 2089 | => switch (target.cpu.arch) { | 2091 | => switch (target.cpu.arch) { |
| 2090 | .msp430 => switch (c_type) { | 2092 | .msp430 => switch (c_type) { |
| 2091 | .char => return 8, | 2093 | .char => return 8, |
| ... | @@ -2291,7 +2293,6 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 { | ... | @@ -2291,7 +2293,6 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 { |
| 2291 | .driverkit, | 2293 | .driverkit, |
| 2292 | .shadermodel, | 2294 | .shadermodel, |
| 2293 | .liteos, | 2295 | .liteos, |
| 2294 | .serenity, | | |
| 2295 | => @panic("TODO specify the C integer and float type sizes for this OS"), | 2296 | => @panic("TODO specify the C integer and float type sizes for this OS"), |
| 2296 | } | 2297 | } |
| 2297 | } | 2298 | } |