public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: hydai <hydai@hyd.ai>
To: git-commits@fedoraproject.org
Subject: [rpms/wasmedge] epel8: Update to 0.17.1
Date: Mon, 06 Jul 2026 16:21:00 GMT [thread overview]
Message-ID: <178335486040.1.10173830063439047640.rpms-wasmedge-c458425a156e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/wasmedge
Branch : epel8
Commit : c458425a156ec99a93cab10a5456d0e387bd6d39
Author : hydai <hydai@hyd.ai>
Date : 2026-07-06T16:20:33+00:00
Stats : +7/-564 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/wasmedge/c/c458425a156ec99a93cab10a5456d0e387bd6d39?branch=epel8
Log:
Update to 0.17.1
Signed-off-by: hydai <hydai@hyd.ai>
---
diff --git a/.gitignore b/.gitignore
index c2b8f64..91e2db4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
/WasmEdge-0.13.4-src.tar.gz
/WasmEdge-0.13.5-src.tar.gz
/WasmEdge-0.14.0-src.tar.gz
+/WasmEdge-0.17.1-src.tar.gz
diff --git a/0001-fmt6-compat.patch b/0001-fmt6-compat.patch
deleted file mode 100644
index 97a53f9..0000000
--- a/0001-fmt6-compat.patch
+++ /dev/null
@@ -1,559 +0,0 @@
-diff --git a/include/ast/type.h b/include/ast/type.h
-index 03fbf53ef..81399e0a7 100644
---- a/include/ast/type.h
-+++ b/include/ast/type.h
-@@ -797,9 +797,9 @@ private:
- template <>
- struct fmt::formatter<WasmEdge::AST::FunctionType>
- : fmt::formatter<std::string_view> {
-- fmt::format_context::iterator
-- format(const WasmEdge::AST::FunctionType &Type,
-- fmt::format_context &Ctx) const noexcept {
-+ template <typename FmtCtx>
-+ auto format(const WasmEdge::AST::FunctionType &Type,
-+ FmtCtx &Ctx) WASMEDGE_FMT_CONST noexcept -> decltype(Ctx.out()) {
- using namespace std::literals;
-
- fmt::memory_buffer Buffer;
-diff --git a/include/common/enum_ast.hpp b/include/common/enum_ast.hpp
-index 2535559a1..fab6bca27 100644
---- a/include/common/enum_ast.hpp
-+++ b/include/common/enum_ast.hpp
-@@ -133,9 +133,9 @@ static inline constexpr const auto ComponentCanonOptCodeStr = []() constexpr {
- template <>
- struct fmt::formatter<WasmEdge::ASTNodeAttr>
- : fmt::formatter<std::string_view> {
-- fmt::format_context::iterator
-- format(const WasmEdge::ASTNodeAttr &Attr,
-- fmt::format_context &Ctx) const noexcept {
-+ template <typename FmtCtx>
-+ auto format(const WasmEdge::ASTNodeAttr &Attr,
-+ FmtCtx &Ctx) WASMEDGE_FMT_CONST noexcept -> decltype(Ctx.out()) {
- return formatter<std::string_view>::format(WasmEdge::ASTNodeAttrStr[Attr],
- Ctx);
- }
-@@ -143,9 +143,9 @@ struct fmt::formatter<WasmEdge::ASTNodeAttr>
-
- template <>
- struct fmt::formatter<WasmEdge::OpCode> : fmt::formatter<std::string_view> {
-- fmt::format_context::iterator
-- format(const WasmEdge::OpCode &Code,
-- fmt::format_context &Ctx) const noexcept {
-+ template <typename FmtCtx>
-+ auto format(const WasmEdge::OpCode &Code,
-+ FmtCtx &Ctx) WASMEDGE_FMT_CONST noexcept -> decltype(Ctx.out()) {
- return formatter<std::string_view>::format(WasmEdge::OpCodeStr[Code], Ctx);
- }
- };
-diff --git a/include/common/enum_errcode.hpp b/include/common/enum_errcode.hpp
-index 71fa512b0..dcaeb77d0 100644
---- a/include/common/enum_errcode.hpp
-+++ b/include/common/enum_errcode.hpp
-@@ -151,9 +151,9 @@ static inline constexpr const auto ErrCodeStr = []() constexpr {
-
- template <>
- struct fmt::formatter<WasmEdge::WasmPhase> : fmt::formatter<std::string_view> {
-- fmt::format_context::iterator
-- format(const WasmEdge::WasmPhase &Phase,
-- fmt::format_context &Ctx) const noexcept {
-+ template <typename FmtCtx>
-+ auto format(const WasmEdge::WasmPhase &Phase,
-+ FmtCtx &Ctx) WASMEDGE_FMT_CONST noexcept -> decltype(Ctx.out()) {
- return formatter<std::string_view>::format(WasmEdge::WasmPhaseStr[Phase],
- Ctx);
- }
-diff --git a/include/common/enum_errinfo.hpp b/include/common/enum_errinfo.hpp
-index 48b7c094f..13847b090 100644
---- a/include/common/enum_errinfo.hpp
-+++ b/include/common/enum_errinfo.hpp
-@@ -110,9 +110,9 @@ static inline constexpr auto IndexCategoryStr = []() constexpr {
- template <>
- struct fmt::formatter<WasmEdge::ErrInfo::PtrType>
- : fmt::formatter<std::string_view> {
-- fmt::format_context::iterator
-- format(const WasmEdge::ErrInfo::PtrType &Type,
-- fmt::format_context &Ctx) const noexcept {
-+ template <typename FmtCtx>
-+ auto format(const WasmEdge::ErrInfo::PtrType &Type,
-+ FmtCtx &Ctx) WASMEDGE_FMT_CONST noexcept -> decltype(Ctx.out()) {
- return formatter<std::string_view>::format(
- WasmEdge::ErrInfo::PtrTypeStr[Type], Ctx);
- }
-@@ -121,9 +121,9 @@ struct fmt::formatter<WasmEdge::ErrInfo::PtrType>
- template <>
- struct fmt::formatter<WasmEdge::ErrInfo::MismatchCategory>
- : fmt::formatter<std::string_view> {
-- fmt::format_context::iterator
-- format(const WasmEdge::ErrInfo::MismatchCategory &Category,
-- fmt::format_context &Ctx) const noexcept {
-+ template <typename FmtCtx>
-+ auto format(const WasmEdge::ErrInfo::MismatchCategory &Category,
-+ FmtCtx &Ctx) WASMEDGE_FMT_CONST noexcept -> decltype(Ctx.out()) {
- return formatter<std::string_view>::format(
- WasmEdge::ErrInfo::MismatchCategoryStr[Category], Ctx);
- }
-@@ -132,9 +132,9 @@ struct fmt::formatter<WasmEdge::ErrInfo::MismatchCategory>
- template <>
- struct fmt::formatter<WasmEdge::ErrInfo::IndexCategory>
- : fmt::formatter<std::string_view> {
-- fmt::format_context::iterator
-- format(const WasmEdge::ErrInfo::IndexCategory &Category,
-- fmt::format_context &Ctx) const noexcept {
-+ template <typename FmtCtx>
-+ auto format(const WasmEdge::ErrInfo::IndexCategory &Category,
-+ FmtCtx &Ctx) WASMEDGE_FMT_CONST noexcept -> decltype(Ctx.out()) {
- return formatter<std::string_view>::format(
- WasmEdge::ErrInfo::IndexCategoryStr[Category], Ctx);
- }
-diff --git a/include/common/enum_types.hpp b/include/common/enum_types.hpp
-index c73f151b1..769b0e71b 100644
---- a/include/common/enum_types.hpp
-+++ b/include/common/enum_types.hpp
-@@ -111,8 +111,8 @@ static inline constexpr const auto ComponentTypeCodeStr = []() constexpr {
-
- template <>
- struct fmt::formatter<WasmEdge::ValMut> : fmt::formatter<std::string_view> {
-- fmt::format_context::iterator
-- format(const WasmEdge::ValMut &Mut, fmt::format_context &Ctx) const noexcept {
-+ template <typename FmtCtx>
-+ auto format(const WasmEdge::ValMut &Mut, FmtCtx &Ctx) WASMEDGE_FMT_CONST noexcept -> decltype(Ctx.out()) {
- return formatter<std::string_view>::format(WasmEdge::ValMutStr[Mut], Ctx);
- }
- };
-@@ -120,9 +120,9 @@ struct fmt::formatter<WasmEdge::ValMut> : fmt::formatter<std::string_view> {
- template <>
- struct fmt::formatter<WasmEdge::ExternalType>
- : fmt::formatter<std::string_view> {
-- fmt::format_context::iterator
-- format(const WasmEdge::ExternalType &Type,
-- fmt::format_context &Ctx) const noexcept {
-+ template <typename FmtCtx>
-+ auto format(const WasmEdge::ExternalType &Type,
-+ FmtCtx &Ctx) WASMEDGE_FMT_CONST noexcept -> decltype(Ctx.out()) {
- return formatter<std::string_view>::format(WasmEdge::ExternalTypeStr[Type],
- Ctx);
- }
-diff --git a/include/common/errcode.h b/include/common/errcode.h
-index 2661c5207..2e5f8688d 100644
---- a/include/common/errcode.h
-+++ b/include/common/errcode.h
-@@ -60,9 +60,9 @@ template <typename T> constexpr auto Unexpect(const Expect<T> &Val) {
-
- template <>
- struct fmt::formatter<WasmEdge::ErrCode> : fmt::formatter<std::string_view> {
-- fmt::format_context::iterator
-- format(const WasmEdge::ErrCode &Code,
-- fmt::format_context &Ctx) const noexcept {
-+ template <typename FmtCtx>
-+ auto format(const WasmEdge::ErrCode &Code,
-+ FmtCtx &Ctx) WASMEDGE_FMT_CONST noexcept -> decltype(Ctx.out()) {
- using namespace std::literals;
- std::string Output =
- fmt::format("{} failed: {}, Code: 0x{:03x}"sv, Code.getErrCodePhase(),
-@@ -74,9 +74,9 @@ struct fmt::formatter<WasmEdge::ErrCode> : fmt::formatter<std::string_view> {
- template <>
- struct fmt::formatter<WasmEdge::ErrCode::Value>
- : fmt::formatter<WasmEdge::ErrCode> {
-- fmt::format_context::iterator
-- format(const WasmEdge::ErrCode::Value &Value,
-- fmt::format_context &Ctx) const noexcept {
-+ template <typename FmtCtx>
-+ auto format(const WasmEdge::ErrCode::Value &Value,
-+ FmtCtx &Ctx) WASMEDGE_FMT_CONST noexcept -> decltype(Ctx.out()) {
- return formatter<WasmEdge::ErrCode>::format(WasmEdge::ErrCode(Value), Ctx);
- }
- };
-diff --git a/include/common/errinfo.h b/include/common/errinfo.h
-index 251a85215..1176a3948 100644
---- a/include/common/errinfo.h
-+++ b/include/common/errinfo.h
-@@ -270,94 +270,94 @@ template <>
- struct fmt::formatter<WasmEdge::ErrInfo::InfoFile>
- : fmt::formatter<std::string_view> {
- fmt::format_context::iterator format(const WasmEdge::ErrInfo::InfoFile &Info,
-- fmt::format_context &Ctx) const noexcept;
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept;
- };
- template <>
- struct fmt::formatter<WasmEdge::ErrInfo::InfoLoading>
- : fmt::formatter<std::string_view> {
- fmt::format_context::iterator
- format(const WasmEdge::ErrInfo::InfoLoading &Info,
-- fmt::format_context &Ctx) const noexcept;
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept;
- };
- template <>
- struct fmt::formatter<WasmEdge::ErrInfo::InfoAST>
- : fmt::formatter<std::string_view> {
- fmt::format_context::iterator format(const WasmEdge::ErrInfo::InfoAST &Info,
-- fmt::format_context &Ctx) const noexcept;
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept;
- };
- template <>
- struct fmt::formatter<WasmEdge::ErrInfo::InfoInstanceBound>
- : fmt::formatter<std::string_view> {
- fmt::format_context::iterator
- format(const WasmEdge::ErrInfo::InfoInstanceBound &Info,
-- fmt::format_context &Ctx) const noexcept;
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept;
- };
- template <>
- struct fmt::formatter<WasmEdge::ErrInfo::InfoForbidIndex>
- : fmt::formatter<std::string_view> {
- fmt::format_context::iterator
- format(const WasmEdge::ErrInfo::InfoForbidIndex &Info,
-- fmt::format_context &Ctx) const noexcept;
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept;
- };
- template <>
- struct fmt::formatter<WasmEdge::ErrInfo::InfoExporting>
- : fmt::formatter<std::string_view> {
- fmt::format_context::iterator
- format(const WasmEdge::ErrInfo::InfoExporting &Info,
-- fmt::format_context &Ctx) const noexcept;
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept;
- };
- template <>
- struct fmt::formatter<WasmEdge::ErrInfo::InfoLimit>
- : fmt::formatter<std::string_view> {
- fmt::format_context::iterator format(const WasmEdge::ErrInfo::InfoLimit &Info,
-- fmt::format_context &Ctx) const noexcept;
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept;
- };
- template <>
- struct fmt::formatter<WasmEdge::ErrInfo::InfoRegistering>
- : fmt::formatter<std::string_view> {
- fmt::format_context::iterator
- format(const WasmEdge::ErrInfo::InfoRegistering &Info,
-- fmt::format_context &Ctx) const noexcept;
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept;
- };
- template <>
- struct fmt::formatter<WasmEdge::ErrInfo::InfoLinking>
- : fmt::formatter<std::string_view> {
- fmt::format_context::iterator
- format(const WasmEdge::ErrInfo::InfoLinking &Info,
-- fmt::format_context &Ctx) const noexcept;
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept;
- };
- template <>
- struct fmt::formatter<WasmEdge::ErrInfo::InfoExecuting>
- : fmt::formatter<std::string_view> {
- fmt::format_context::iterator
- format(const WasmEdge::ErrInfo::InfoExecuting &Info,
-- fmt::format_context &Ctx) const noexcept;
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept;
- };
- template <>
- struct fmt::formatter<WasmEdge::ErrInfo::InfoMismatch>
- : fmt::formatter<std::string_view> {
- fmt::format_context::iterator
- format(const WasmEdge::ErrInfo::InfoMismatch &Info,
-- fmt::format_context &Ctx) const noexcept;
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept;
- };
- template <>
- struct fmt::formatter<WasmEdge::ErrInfo::InfoInstruction>
- : fmt::formatter<std::string_view> {
- fmt::format_context::iterator
- format(const WasmEdge::ErrInfo::InfoInstruction &Info,
-- fmt::format_context &Ctx) const noexcept;
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept;
- };
- template <>
- struct fmt::formatter<WasmEdge::ErrInfo::InfoBoundary>
- : fmt::formatter<std::string_view> {
- fmt::format_context::iterator
- format(const WasmEdge::ErrInfo::InfoBoundary &Info,
-- fmt::format_context &Ctx) const noexcept;
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept;
- };
- template <>
- struct fmt::formatter<WasmEdge::ErrInfo::InfoProposal>
- : fmt::formatter<std::string_view> {
- fmt::format_context::iterator
- format(const WasmEdge::ErrInfo::InfoProposal &Info,
-- fmt::format_context &Ctx) const noexcept;
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept;
- };
-diff --git a/include/common/int128.h b/include/common/int128.h
-index 40f49e727..71a2b7133 100644
---- a/include/common/int128.h
-+++ b/include/common/int128.h
-@@ -554,7 +554,14 @@ using uint128_t = uint128;
-
- #include <fmt/format.h>
-
-+#if FMT_VERSION >= 80000
-+#define WASMEDGE_FMT_CONST const
-+#else
-+#define WASMEDGE_FMT_CONST
-+#endif
-+
- FMT_BEGIN_NAMESPACE
-+#if FMT_VERSION >= 90000
- namespace detail {
- inline constexpr bool operator>=(detail::uint128_fallback LHS,
- unsigned int RHS) {
-@@ -668,7 +675,9 @@ FMT_CONSTEXPR20 inline int count_digits(detail::uint128_fallback N) {
- }
-
- } // namespace detail
-+#endif
-
-+#if FMT_VERSION >= 80000
- template <typename Char> struct formatter<WasmEdge::uint128, Char> {
- private:
- detail::dynamic_format_specs<Char> Specs;
-@@ -713,4 +722,27 @@ public:
- #endif
- }
- };
-+#else
-+template <typename Char> struct formatter<WasmEdge::uint128, Char> {
-+ template <typename ParseContext>
-+ constexpr auto parse(ParseContext &Ctx) -> decltype(Ctx.begin()) {
-+ return Ctx.begin();
-+ }
-+ template <typename FormatContext>
-+ auto format(WasmEdge::uint128 V, FormatContext &Ctx) -> decltype(Ctx.out()) {
-+ char Buf[40];
-+ char *Pos = Buf + sizeof(Buf);
-+ const WasmEdge::uint128 Ten(10U);
-+ do {
-+ *--Pos = static_cast<char>('0' + (V % Ten).low());
-+ V /= Ten;
-+ } while (V != WasmEdge::uint128(0U));
-+ auto Out = Ctx.out();
-+ for (const char *It = Pos; It != Buf + sizeof(Buf); ++It) {
-+ *Out++ = *It;
-+ }
-+ return Out;
-+ }
-+};
-+#endif
- FMT_END_NAMESPACE
-diff --git a/include/common/spdlog.h b/include/common/spdlog.h
-index c94931c55..5c80be269 100644
---- a/include/common/spdlog.h
-+++ b/include/common/spdlog.h
-@@ -49,8 +49,9 @@ void setLoggingCallback(
- template <>
- struct fmt::formatter<std::filesystem::path>
- : fmt::formatter<std::string_view> {
-- fmt::format_context::iterator format(const std::filesystem::path &Path,
-- fmt::format_context &Ctx) const {
-+ template <typename FmtCtx>
-+ auto format(const std::filesystem::path &Path,
-+ FmtCtx &Ctx) WASMEDGE_FMT_CONST -> decltype(Ctx.out()) {
- // mimic std::quoted
- constexpr const char Delimiter = '"';
- constexpr const char Escape = '\\';
-diff --git a/include/common/types.h b/include/common/types.h
-index de5d23764..188a0a58a 100644
---- a/include/common/types.h
-+++ b/include/common/types.h
-@@ -788,9 +788,9 @@ private:
-
- template <>
- struct fmt::formatter<WasmEdge::ValType> : fmt::formatter<std::string_view> {
-- fmt::format_context::iterator
-- format(const WasmEdge::ValType &Type,
-- fmt::format_context &Ctx) const noexcept {
-+ template <typename FmtCtx>
-+ auto format(const WasmEdge::ValType &Type,
-+ FmtCtx &Ctx) WASMEDGE_FMT_CONST noexcept -> decltype(Ctx.out()) {
- using namespace std::literals;
- // For the number types, print the type directly.
- if (!Type.isRefType()) {
-diff --git a/include/host/wasi/error.h b/include/host/wasi/error.h
-index 7ff181be2..6f0bda102 100644
---- a/include/host/wasi/error.h
-+++ b/include/host/wasi/error.h
-@@ -29,8 +29,8 @@ template <typename T> constexpr auto WasiUnexpect(const WasiExpect<T> &Val) {
-
- template <>
- struct fmt::formatter<__wasi_errno_t> : fmt::formatter<std::string_view> {
-- fmt::format_context::iterator
-- format(__wasi_errno_t ErrNo, fmt::format_context &Ctx) const noexcept {
-+ template <typename FmtCtx>
-+ auto format(__wasi_errno_t ErrNo, FmtCtx &Ctx) WASMEDGE_FMT_CONST noexcept -> decltype(Ctx.out()) {
- fmt::memory_buffer Buffer;
- using namespace std::literals;
- auto Iter = std::back_inserter(Buffer);
-diff --git a/lib/common/errinfo.cpp b/lib/common/errinfo.cpp
-index 71400642d..27d4aabd4 100644
---- a/lib/common/errinfo.cpp
-+++ b/lib/common/errinfo.cpp
-@@ -7,14 +7,18 @@
- #include "common/int128.h"
-
- #include <spdlog/fmt/fmt.h>
-+#if __has_include(<spdlog/fmt/ranges.h>)
- #include <spdlog/fmt/ranges.h>
-+#else
-+#include <fmt/ranges.h>
-+#endif
-
- using namespace std::literals;
-
- fmt::format_context::iterator
- fmt::formatter<WasmEdge::ErrInfo::InfoFile>::format(
- const WasmEdge::ErrInfo::InfoFile &Info,
-- fmt::format_context &Ctx) const noexcept {
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept {
- fmt::memory_buffer Buffer;
- fmt::format_to(std::back_inserter(Buffer), " File name: {}"sv,
- Info.FileName);
-@@ -25,7 +29,7 @@ fmt::formatter<WasmEdge::ErrInfo::InfoFile>::format(
- fmt::format_context::iterator
- fmt::formatter<WasmEdge::ErrInfo::InfoLoading>::format(
- const WasmEdge::ErrInfo::InfoLoading &Info,
-- fmt::format_context &Ctx) const noexcept {
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept {
- fmt::memory_buffer Buffer;
- fmt::format_to(std::back_inserter(Buffer), " Bytecode offset: 0x{:08x}"sv,
- Info.Offset);
-@@ -36,7 +40,7 @@ fmt::formatter<WasmEdge::ErrInfo::InfoLoading>::format(
- fmt::format_context::iterator
- fmt::formatter<WasmEdge::ErrInfo::InfoAST>::format(
- const WasmEdge::ErrInfo::InfoAST &Info,
-- fmt::format_context &Ctx) const noexcept {
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept {
- fmt::memory_buffer Buffer;
- fmt::format_to(std::back_inserter(Buffer), " At AST node: {}"sv,
- Info.NodeAttr);
-@@ -47,7 +51,7 @@ fmt::formatter<WasmEdge::ErrInfo::InfoAST>::format(
- fmt::format_context::iterator
- fmt::formatter<WasmEdge::ErrInfo::InfoInstanceBound>::format(
- const WasmEdge::ErrInfo::InfoInstanceBound &Info,
-- fmt::format_context &Ctx) const noexcept {
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept {
- fmt::memory_buffer Buffer;
- fmt::format_to(std::back_inserter(Buffer),
- " Instance {} has limited number {} , Got: {}"sv,
-@@ -59,7 +63,7 @@ fmt::formatter<WasmEdge::ErrInfo::InfoInstanceBound>::format(
- fmt::format_context::iterator
- fmt::formatter<WasmEdge::ErrInfo::InfoForbidIndex>::format(
- const WasmEdge::ErrInfo::InfoForbidIndex &Info,
-- fmt::format_context &Ctx) const noexcept {
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept {
- fmt::memory_buffer Buffer;
- auto Iter =
- fmt::format_to(std::back_inserter(Buffer),
-@@ -77,7 +81,7 @@ fmt::formatter<WasmEdge::ErrInfo::InfoForbidIndex>::format(
- fmt::format_context::iterator
- fmt::formatter<WasmEdge::ErrInfo::InfoExporting>::format(
- const WasmEdge::ErrInfo::InfoExporting &Info,
-- fmt::format_context &Ctx) const noexcept {
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept {
- fmt::memory_buffer Buffer;
- fmt::format_to(std::back_inserter(Buffer),
- " Duplicated exporting name: \"{}\""sv, Info.ExtName);
-@@ -88,7 +92,7 @@ fmt::formatter<WasmEdge::ErrInfo::InfoExporting>::format(
- fmt::format_context::iterator
- fmt::formatter<WasmEdge::ErrInfo::InfoLimit>::format(
- const WasmEdge::ErrInfo::InfoLimit &Info,
-- fmt::format_context &Ctx) const noexcept {
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept {
- fmt::memory_buffer Buffer;
- auto Iter = fmt::format_to(std::back_inserter(Buffer),
- " In Limit type: {{ min: {}"sv, Info.LimMin);
-@@ -103,7 +107,7 @@ fmt::formatter<WasmEdge::ErrInfo::InfoLimit>::format(
- fmt::format_context::iterator
- fmt::formatter<WasmEdge::ErrInfo::InfoRegistering>::format(
- const WasmEdge::ErrInfo::InfoRegistering &Info,
-- fmt::format_context &Ctx) const noexcept {
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept {
- fmt::memory_buffer Buffer;
- fmt::format_to(std::back_inserter(Buffer), " Module name: \"{}\""sv,
- Info.ModName);
-@@ -114,7 +118,7 @@ fmt::formatter<WasmEdge::ErrInfo::InfoRegistering>::format(
- fmt::format_context::iterator
- fmt::formatter<WasmEdge::ErrInfo::InfoLinking>::format(
- const WasmEdge::ErrInfo::InfoLinking &Info,
-- fmt::format_context &Ctx) const noexcept {
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept {
- fmt::memory_buffer Buffer;
- fmt::format_to(std::back_inserter(Buffer),
- " When linking module: \"{}\" , {} name: \"{}\""sv,
-@@ -126,7 +130,7 @@ fmt::formatter<WasmEdge::ErrInfo::InfoLinking>::format(
- fmt::format_context::iterator
- fmt::formatter<WasmEdge::ErrInfo::InfoExecuting>::format(
- const WasmEdge::ErrInfo::InfoExecuting &Info,
-- fmt::format_context &Ctx) const noexcept {
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept {
- fmt::memory_buffer Buffer;
- auto Iter =
- fmt::format_to(std::back_inserter(Buffer), " When executing "sv);
-@@ -141,7 +145,7 @@ fmt::formatter<WasmEdge::ErrInfo::InfoExecuting>::format(
- fmt::format_context::iterator
- fmt::formatter<WasmEdge::ErrInfo::InfoMismatch>::format(
- const WasmEdge::ErrInfo::InfoMismatch &Info,
-- fmt::format_context &Ctx) const noexcept {
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept {
- fmt::memory_buffer Buffer;
- auto Iter = fmt::format_to(std::back_inserter(Buffer),
- " Mismatched {}. "sv, Info.Category);
-@@ -229,7 +233,7 @@ fmt::formatter<WasmEdge::ErrInfo::InfoMismatch>::format(
- fmt::format_context::iterator
- fmt::formatter<WasmEdge::ErrInfo::InfoInstruction>::format(
- const WasmEdge::ErrInfo::InfoInstruction &Info,
-- fmt::format_context &Ctx) const noexcept {
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept {
- uint16_t Payload = static_cast<uint16_t>(Info.Code);
- fmt::memory_buffer Buffer;
- auto Iter = fmt::format_to(std::back_inserter(Buffer),
-@@ -294,7 +298,7 @@ fmt::formatter<WasmEdge::ErrInfo::InfoInstruction>::format(
- fmt::format_context::iterator
- fmt::formatter<WasmEdge::ErrInfo::InfoBoundary>::format(
- const WasmEdge::ErrInfo::InfoBoundary &Info,
-- fmt::format_context &Ctx) const noexcept {
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept {
- fmt::memory_buffer Buffer;
- WasmEdge::uint128_t OffFrom = Info.Offset;
- if (Info.IsOffsetOverflow) {
-@@ -347,7 +351,7 @@ fmt::formatter<WasmEdge::ErrInfo::InfoBoundary>::format(
- fmt::format_context::iterator
- fmt::formatter<WasmEdge::ErrInfo::InfoProposal>::format(
- const WasmEdge::ErrInfo::InfoProposal &Info,
-- fmt::format_context &Ctx) const noexcept {
-+ fmt::format_context &Ctx) WASMEDGE_FMT_CONST noexcept {
- fmt::memory_buffer Buffer;
- if (auto Iter = WasmEdge::ProposalStr.find(Info.P);
- Iter != WasmEdge::ProposalStr.end()) {
-diff --git a/lib/common/spdlog.cpp b/lib/common/spdlog.cpp
-index 39ba477bb..39f6a7ff8 100644
---- a/lib/common/spdlog.cpp
-+++ b/lib/common/spdlog.cpp
-@@ -9,7 +9,30 @@
- // https://github.com/gabime/spdlog/pull/3198
- #pragma clang diagnostic ignored "-Wextra-semi"
- #endif
-+#if __has_include(<spdlog/sinks/callback_sink.h>)
- #include <spdlog/sinks/callback_sink.h>
-+#else
-+// Fallback for spdlog without callback_sink.h (e.g. RHEL 9 / EPEL 9 spdlog 1.10).
-+#include <spdlog/sinks/base_sink.h>
-+#include <functional>
-+#include <mutex>
-+namespace spdlog::sinks {
-+template <typename Mutex> class callback_sink final : public base_sink<Mutex> {
-+public:
-+ explicit callback_sink(
-+ std::function<void(const details::log_msg &)> Callback)
-+ : Cb(std::move(Callback)) {}
-+
-+protected:
-+ void sink_it_(const details::log_msg &Msg) override { Cb(Msg); }
-+ void flush_() override {}
-+
-+private:
-+ std::function<void(const details::log_msg &)> Cb;
-+};
-+using callback_sink_mt = callback_sink<std::mutex>;
-+} // namespace spdlog::sinks
-+#endif
- #if defined(__clang_major__) && __clang_major__ >= 10
- #pragma clang diagnostic pop
- #endif
diff --git a/sources b/sources
index d2f6a58..761ab14 100644
--- a/sources
+++ b/sources
@@ -14,3 +14,4 @@ SHA512 (WasmEdge-0.14.1-src.tar.gz) = cf708ad789c8d7cb8b5885d6b13dbb010fa433e939
SHA512 (WasmEdge-0.15.0-src.tar.gz) = 3a41f362852dd04dc441ebe10fac266703bb146100cceec64df3fce76f57960ac7dacfc9c1243f4177899a5c4d50166158908b0ec4e88e3f226cad2fd350e6cd
SHA512 (WasmEdge-0.16.1-src.tar.gz) = b09c8d83e3627085382109ea073ecc099b57e109b419171a29ab780ee36b371de9bd1864d478c15324f29baabd0c19dda8a32a37f46a738f39e47ef6d51a0770
SHA512 (WasmEdge-0.17.0-src.tar.gz) = 3e0f9739c7cd5af4ad1e54ed009719c8e4d3d4bfc821103bd954f5bc662381278f97078b4d177f4fae599b3a199b55b6e1fd81ce75ab7711921779db2e89d567
+SHA512 (WasmEdge-0.17.1-src.tar.gz) = b5f1d7cde7fee8f43dff972135fb49489c0e752cd364aa13ecb15b7ccd0d81579ac2552d3e3a8f6f5a870313eda640010f833869a0089677a3c8d76476e0fbed
diff --git a/wasmedge.spec b/wasmedge.spec
index 04bf0ad..50d0502 100644
--- a/wasmedge.spec
+++ b/wasmedge.spec
@@ -1,4 +1,4 @@
-%global version 0.17.0
+%global version 0.17.1
%global reponame WasmEdge
%global capi_soname 0
%global capi_version 0.1.1
@@ -12,10 +12,6 @@ Summary: High performance WebAssembly Virtual Machine
License: ASL 2.0 and CC0
URL: https://github.com/%{reponame}/%{reponame}
Source0: %{url}/releases/download/%{version}/%{reponame}-%{version}-src.tar.gz
-# fmt 6 / spdlog 1.5 compatibility for EPEL 8: RHEL 8 ships fmt 6.2.1 and spdlog
-# 1.5.0, older than upstream expects. Conditional guards only (FMT_VERSION and
-# __has_include), no behavior change on newer fmt. Candidate for upstreaming.
-Patch0: 0001-fmt6-compat.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: gcc-toolset-11-toolchain
@@ -124,6 +120,10 @@ cd ..
%{_libdir}/lib%{name}.so
%changelog
+* Mon Jul 06 2026 hydai <hydai@hyd.ai> - 0.17.1-1
+- Update to 0.17.1
+- Drop 0001-fmt6-compat.patch; fmt/spdlog compat upstreamed
+
* Tue Jun 02 2026 hydai <z54981220@gmail.com> - 0.17.0-1
- Update to 0.17.0
- Add fmt 6 / spdlog 1.5 compatibility patch for EPEL 8 (Patch0)
reply other threads:[~2026-07-06 16:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178335486040.1.10173830063439047640.rpms-wasmedge-c458425a156e@fedoraproject.org \
--to=hydai@hyd.ai \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox