From 94d308290e140d768b1601251ea7ccc849084ef0 Mon Sep 17 00:00:00 2001 From: Valery Antopol Date: Mon, 21 Nov 2022 10:47:20 +0400 Subject: [PATCH] ci: remove cargo update (#87) * remove cargo update * fix doc comments --- .github/workflows/publish_release.yml | 2 -- src/lib.rs | 9 ++++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 66d2aa6..7ce257c 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -15,8 +15,6 @@ jobs: - name: Setup rust toolchain uses: actions-rust-lang/setup-rust-toolchain@v1 - - run: cargo update --aggressive - - name: Install jq run: sudo apt-get update && sudo apt-get --yes --force-yes install jq diff --git a/src/lib.rs b/src/lib.rs index 4953149..be83d11 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -106,16 +106,15 @@ pub mod internal { #[cfg(not(feature = "no-explicit-ctors-call"))] #[cfg(target_arch = "wasm32")] -#[doc(hidden)] extern "C" { // For internal use. Not an API function. fn __wasm_call_ctors(); } -/// Adds an explicit __wasm_call_ctors call to tell LLVM not to -/// wrap every export in __wasm_call_ctors/__wasm_call_dtors calls. -/// The most referenced issue about it is https://github.com/WebAssembly/WASI/issues/471 -/// For internal use. Not an API function. +// Adds an explicit __wasm_call_ctors call to tell LLVM not to +// wrap every export in __wasm_call_ctors/__wasm_call_dtors calls. +// The most referenced issue about it is https://github.com/WebAssembly/WASI/issues/471 +// For internal use. Not an API function. #[cfg(not(feature = "no-explicit-ctors-call"))] #[cfg(target_arch = "wasm32")] #[doc(hidden)]