Skip to content

Commit

Permalink
rename rs to libzstd
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlyguo committed May 6, 2024
1 parent e9dbcf9 commit 68d3b5f
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ Follow these steps to build the `.so` file:
make run
```

2. Change directory to rs:
2. Change directory to libzstd:
```
cd rs
cd libzstd
```

3. Build libzstd:
```
export CARGO_NET_GIT_FETCH_WITH_CLI=true
export CARGO_NET_GIT_FETCH_WITH_CLI=false
make libzstd
```

Expand All @@ -31,7 +31,7 @@ Follow these steps to run unit tests:

2. Set the directory for shared libraries:
```
export LD_LIBRARY_PATH=${PWD}/rs:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=${PWD}/libzstd:$LD_LIBRARY_PATH
```

3. Execute the unit tests:
Expand Down
4 changes: 2 additions & 2 deletions encoding/codecv2/codecv2.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package codecv2

/*
#cgo LDFLAGS: -L../../rs -lm -ldl -lscroll_zstd
#cgo LDFLAGS: -L../../libzstd -lm -ldl -lscroll_zstd
#include <stdlib.h>
#include "../../rs/rs_zstd.h"
#include "../../libzstd/rs_zstd.h"
*/
import "C"

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 68d3b5f

Please sign in to comment.