# Prepare dev-container
docker pull scrolltech/go-rust-builder:go-1.21-rust-nightly-2023-12-03 --platform linux/amd64
docker run -it --rm -v "$(PWD):/workspace" -w /workspace scrolltech/go-rust-builder:go-1.21-rust-nightly-2023-12-03
# Compile libzstd
cd libzstd && make libzstd && cd ..
mkdir -p /scroll/lib/
cp -f $(pwd)/libzstd/target/release/libscroll_zstd.so /scroll/lib/
# Set the environment variable
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/scroll/lib/
export CGO_LDFLAGS="-L/scroll/lib/ -Wl,-rpath,/scroll/lib/"
# Run unit tests
go test -v -race ./...
-
Notifications
You must be signed in to change notification settings - Fork 2
scroll's DA encoding/decoding libraries
License
scroll-tech/da-codec
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
scroll's DA encoding/decoding libraries
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published