blob: 98b80fb41bd212134a8c0d94c6a0049b82fe3e80 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include <cstdlib>
#include <stdint.h>
#include "rust_abi.h"
weak_symbol<uint32_t> abi_version("rust_abi_version");
uint32_t get_abi_version() {
return (*abi_version == NULL) ? 0 : **abi_version;
}
|