arudradey's picture
download
raw
692 Bytes
// Copyright 2022 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.
#pragma once
#include <cstdlib>
#ifndef NDEBUG
// In debug builds show a message.
namespace wasmfs {
[[noreturn]] void
handle_unreachable(const char* msg, const char* file, unsigned line);
}
#define WASMFS_UNREACHABLE(msg) \
wasmfs::handle_unreachable(msg, __FILE__, __LINE__)
#else
// In release builds trap in a compact manner.
#define WASMFS_UNREACHABLE(msg) __builtin_trap()
#endif

Xet Storage Details

Size:
692 Bytes
·
Xet hash:
ab1e0761302f7f3bcf98fb11d890a1c8ed4360628a330db3784d3bbab078653a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.