summaryrefslogtreecommitdiffstats
path: root/contrib/restricted/emscripten/system/lib/libc/crt1_reactor.c
blob: 24a549b47d10ea3cb8a0682d29c59305679cffef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * Copyright 2020 The Emscripten Authors.  All rights reserved.
 * Emscripten is available under two separate licenses, the MIT license and the
 * University of Illinois/NCSA Open Source License.  Both these licenses can be
 * found in the LICENSE file.
 */

extern void __wasm_call_ctors(void) __attribute__((weak));

void _initialize(void) {
  if (__wasm_call_ctors) {
    __wasm_call_ctors();
  }
}