Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 043c924902851d28bf4ae637b3f193e0146d90ba
https://github.com/tribe29/checkmk/commit/043c924902851d28bf4ae637b3f193e01…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2022-03-04 (Fri, 04 Mar 2022)
Changed paths:
M agents/cmk-agent-ctl/.cargo/config.toml
M agents/cmk-agent-ctl/Cargo.lock
M agents/cmk-agent-ctl/Cargo.toml
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/.cargo-ok
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/.cargo_vcs_info.json
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/.github/workflows/ci.yml
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/.gitignore
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/.gitmodules
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/CHANGELOG.md
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/Cargo.toml
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/Cargo.toml.orig
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/LICENSE-APACHE
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/LICENSE-BSD-2-CLAUSE
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/LICENSE-MIT
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/NOTICE
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/README.md
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/build.rs
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/deny.toml
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/generate_bindings.bat
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/rustfmt.toml
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/src/bindings.rs
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/src/lib.rs
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/vendor/wepoll/LICENSE
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/vendor/wepoll/README.md
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/vendor/wepoll/wepoll.c
A agents/cmk-agent-ctl/patch/wepoll-ffi-0.1.2/vendor/wepoll/wepoll.h
Log Message:
-----------
Link win-controller statically
To achieve a statical link
- libucrt had been added to the toml linker settings, see:
https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features…
- wepoll.c from the crate wepoll had been patched with NDEBUG:
without set NDEBUG Microsoft C compiler generates code for DLL
version of wassert which is not provided by libucrt
- build.rs from the crate wepoll had been patched to execute
only on windows.
This CL is a draft attempt to create 100% achieve static link.
Expected improvements patch only for windows target in config.toml(
if possible at all) and cleanup of link commands
CMK-9888
TEST: Manual on Windows-2012 & Windows-10
Change-Id: Ibc495b4cbb1e17e62b1c54e34f48a2ef08ff9a16