Add Rust tcp-proxy base, add .clangd

This commit is contained in:
Adam Ierymenko 2024-06-17 11:02:13 -04:00
parent e32fecd16d
commit f79af92599
9 changed files with 408 additions and 0 deletions

View file

@ -1,9 +0,0 @@
CXX=$(shell which clang++ g++ c++ 2>/dev/null | head -n 1)
INCLUDES?=-I../ext/prometheus-cpp-lite-1.0/core/include -I../ext/prometheus-cpp-lite-1.0/simpleapi/include
all:
$(CXX) -O3 -fno-rtti $(INCLUDES) -std=c++11 -pthread -frtti -o tcp-proxy tcp-proxy.cpp ../node/Metrics.cpp
clean:
rm -f *.o tcp-proxy *.dSYM