summaryrefslogtreecommitdiff
path: root/modules/esm/system.js
blob: 7143e8a326cb6fedb90393770c130b00bb5493c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
// SPDX-FileCopyrightText: 2020 Evan Welsh <contact@evanwelsh.com>

const system = import.meta.importSync('system');

export let {
    addressOf,
    breakpoint,
    clearDateCaches,
    exit,
    gc,
    programArgs,
    programInvocationName,
    programPath,
    refcount,
    version,
} = system;

export default {
    addressOf,
    breakpoint,
    clearDateCaches,
    exit,
    gc,
    programArgs,
    programInvocationName,
    programPath,
    refcount,
    version,
};