Skip to content

Commit

Permalink
Exclude env from lib.
Browse files Browse the repository at this point in the history
  • Loading branch information
charlielye committed May 27, 2023
1 parent 7065b1f commit 7cfc53a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cpp/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ endif()

include(GNUInstallDirs)

# For this library we include everything but the wasi module, as it is the responsibility of the
# For this library we include everything but the env and wasi modules, as it is the responsibility of the
# consumer of this library to define how and in what environment its artefact will run.
# libbarretenberg + libwasi = a wasi "reactor" that implements it's own env (e.g. logstr), e.g. barretenberg.wasm.
# libbarretenberg + env = a wasi "command" that expects a full wasi runtime (e.g. wasmtime), e.g. test binaries.
message(STATUS "Compiling all-in-one barretenberg archive")
add_library(
barretenberg
Expand Down Expand Up @@ -111,7 +113,6 @@ add_library(
$<TARGET_OBJECTS:stdlib_schnorr_objects>
$<TARGET_OBJECTS:stdlib_sha256_objects>
$<TARGET_OBJECTS:transcript_objects>
$<TARGET_OBJECTS:env_objects>
)

# Small library to provide necessary primitives for rust crate.
Expand Down

0 comments on commit 7cfc53a

Please sign in to comment.