Back to Tikv

README

components/test_coprocessor_plugin/README.md

8.5.6545 B
Original Source

This directory contains example plugins for TiKV's coprocessor, primarily used for testing.

Example plugins should have the following lines in their Cargo.toml

toml
[lib]
crate-type = ["dylib"]

When a crate specifies an example plugin as a dependency, a dylib will be built in the target/<profile> directory. The function coprocessor_plugin_api::pkgname_to_libname() can be used to resolve the package name to a proper library name.

Also make sure to whitelist plugins in scripts/check-bins.py for not containing jemalloc.