From 7cfc53a78a2897b66305f898af05ab38f50b9680 Mon Sep 17 00:00:00 2001 From: Charlie Lye Date: Sat, 27 May 2023 17:25:15 +0000 Subject: [PATCH] Exclude env from lib. --- cpp/src/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cpp/src/CMakeLists.txt b/cpp/src/CMakeLists.txt index 565146e1a3..9d1bf92925 100644 --- a/cpp/src/CMakeLists.txt +++ b/cpp/src/CMakeLists.txt @@ -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 @@ -111,7 +113,6 @@ add_library( $ $ $ - $ ) # Small library to provide necessary primitives for rust crate.