diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7c769af8..a48db8db 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -3,7 +3,7 @@ name: Build and Test on: push: branches: - - master + - main pull_request: {} jobs: @@ -22,7 +22,7 @@ jobs: path: ~/.cache/bazel key: ${{ runner.os }}-${{ env.cache-name }}-${{ github.ref }} restore-keys: | - ${{ runner.os }}-${{ env.cache-name }}-master + ${{ runner.os }}-${{ env.cache-name }}-main - name: Build run: bazel build //src:djinni diff --git a/test-suite/generated-src/wasm/NativeTestHelpers.cpp b/test-suite/generated-src/wasm/NativeTestHelpers.cpp index b3fa033f..cffa968e 100644 --- a/test-suite/generated-src/wasm/NativeTestHelpers.cpp +++ b/test-suite/generated-src/wasm/NativeTestHelpers.cpp @@ -282,7 +282,7 @@ em::val NativeTestHelpers::add_one_if_present(const em::val& w_f) { return ::djinni::FutureAdaptor<::djinni::Optional>::fromCpp(std::move(r)); } catch(const std::exception& e) { - return djinni::ExceptionHandlingTraits<::djinni::FutureAdaptor<::djinni::Optional>>::handleNativeException(e); + return ::djinni::ExceptionHandlingTraits<::djinni::FutureAdaptor<::djinni::Optional>>::handleNativeException(e); } } em::val NativeTestHelpers::check_async_interface(const em::val& w_i) {