Skip to content

Commit

Permalink
Bump rust to 1.78 and add feature to Cargo.toml according to libdatad…
Browse files Browse the repository at this point in the history
…og changes (#3005)

* refactor: add feature_flag to Cargo.toml according to libdatadog changes

* change reference to libdatadog

* Make cbindgen

Signed-off-by: Bob Weinand <[email protected]>

* Bump the minimum rust version to 1.78

Signed-off-by: Bob Weinand <[email protected]>

* test: fix prof asan nightly version

* Avoid undefined symbol errors in test run

Signed-off-by: Bob Weinand <[email protected]>
Add SSRF Rasp capability (#814)
Signed-off-by: Bob Weinand <[email protected]>

---------

Signed-off-by: Bob Weinand <[email protected]>
Co-authored-by: Bob Weinand <[email protected]>
Co-authored-by: Levi Morrison <[email protected]>
  • Loading branch information
3 people authored Jan 6, 2025
1 parent 205c6d8 commit 94538cb
Show file tree
Hide file tree
Showing 20 changed files with 719 additions and 301 deletions.
2 changes: 1 addition & 1 deletion .circleci/continue_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,7 @@ jobs:
command: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rustup.sh
chmod +x /tmp/rustup.sh
/tmp/rustup.sh -y --default-toolchain 1.76
/tmp/rustup.sh -y --default-toolchain 1.78
sudo ln -s $HOME/.cargo/bin/* /usr/bin/
- run: git config --global --add safe.directory /home/circleci/datadog/appsec/third_party/libddwaf
- run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prof_asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
export LDFLAGS='-fsanitize=address -shared-libasan'
export RUSTC_LINKER=lld-17
triplet=$(uname -m)-unknown-linux-gnu
RUST_NIGHTLY_VERSION="-2024-11-04"
RUST_NIGHTLY_VERSION="-2025-01-03"
RUSTFLAGS='-Zsanitizer=address' cargo +nightly${RUST_NIGHTLY_VERSION} build -Zbuild-std --target $triplet --release
cp -v "$CARGO_TARGET_DIR/$triplet/release/libdatadog_php_profiling.so" "$(php-config --extension-dir)/datadog-profiling.so"
Expand Down
Loading

0 comments on commit 94538cb

Please sign in to comment.