Skip to content

Commit 94538cb

Browse files
dubloombwoebimorrisonlevi
authored
Bump rust to 1.78 and add feature to Cargo.toml according to libdatadog changes (#3005)
* refactor: add feature_flag to Cargo.toml according to libdatadog changes * change reference to libdatadog * Make cbindgen Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> * Bump the minimum rust version to 1.78 Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> * test: fix prof asan nightly version * Avoid undefined symbol errors in test run Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> Add SSRF Rasp capability (#814) Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> --------- Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> Co-authored-by: Bob Weinand <bob.weinand@datadoghq.com> Co-authored-by: Levi Morrison <levi.morrison@datadoghq.com>
1 parent 205c6d8 commit 94538cb

File tree

20 files changed

+719
-301
lines changed

20 files changed

+719
-301
lines changed

.circleci/continue_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1478,7 +1478,7 @@ jobs:
14781478
command: |
14791479
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rustup.sh
14801480
chmod +x /tmp/rustup.sh
1481-
/tmp/rustup.sh -y --default-toolchain 1.76
1481+
/tmp/rustup.sh -y --default-toolchain 1.78
14821482
sudo ln -s $HOME/.cargo/bin/* /usr/bin/
14831483
- run: git config --global --add safe.directory /home/circleci/datadog/appsec/third_party/libddwaf
14841484
- run:

.github/workflows/prof_asan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
export LDFLAGS='-fsanitize=address -shared-libasan'
4545
export RUSTC_LINKER=lld-17
4646
triplet=$(uname -m)-unknown-linux-gnu
47-
RUST_NIGHTLY_VERSION="-2024-11-04"
47+
RUST_NIGHTLY_VERSION="-2025-01-03"
4848
RUSTFLAGS='-Zsanitizer=address' cargo +nightly${RUST_NIGHTLY_VERSION} build -Zbuild-std --target $triplet --release
4949
cp -v "$CARGO_TARGET_DIR/$triplet/release/libdatadog_php_profiling.so" "$(php-config --extension-dir)/datadog-profiling.so"
5050

0 commit comments

Comments
 (0)