Coverage Report

Created: 2025-07-01 06:18

/src/WasmEdge/include/host/wasi/wasimodule.h
Line
Count
Source (jump to first uncovered line)
1
// SPDX-License-Identifier: Apache-2.0
2
// SPDX-FileCopyrightText: 2019-2024 Second State INC
3
4
#pragma once
5
6
#include "host/wasi/environ.h"
7
#include "runtime/instance/module.h"
8
9
namespace WasmEdge {
10
namespace Host {
11
12
class WasiModule : public Runtime::Instance::ModuleInstance {
13
public:
14
  WasiModule();
15
16
0
  WASI::Environ &getEnv() noexcept { return Env; }
17
0
  const WASI::Environ &getEnv() const noexcept { return Env; }
18
19
private:
20
  WASI::Environ Env;
21
};
22
23
} // namespace Host
24
} // namespace WasmEdge