Commit a583b58
authored
Use native version of ctime_r. NFC (#16117)
The native code in musl is pretty much a transliteration
of the JS code here, but should be smaller and faster and
avoid the extra import (and work in standalone mode).
See https://github.com/emscripten-core/emscripten/blob/main/system/lib/libc/musl/src/time/ctime_r.c1 parent 24d63c2 commit a583b58
2 files changed
Lines changed: 1 addition & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | 618 | | |
627 | 619 | | |
628 | 620 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
910 | 910 | | |
911 | 911 | | |
912 | 912 | | |
| 913 | + | |
913 | 914 | | |
914 | 915 | | |
915 | 916 | | |
| |||
1573 | 1574 | | |
1574 | 1575 | | |
1575 | 1576 | | |
1576 | | - | |
1577 | 1577 | | |
1578 | 1578 | | |
1579 | 1579 | | |
| |||
0 commit comments