Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion reticle/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "reticle"
version = "0.5.0"
version = "0.5.1"
edition = "2024"

[lib]
Expand Down
6 changes: 6 additions & 0 deletions reticle/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,12 @@ impl ClientBuilder {
self
}

/// sets the confidential policy provider to URL source with the specified url
pub fn with_policies_url(mut self, url: &str) -> libattest::Result<Self> {
self.policies = Box::new(UrlPolicies::new(url)?);
Ok(self)
}

pub async fn build(self) -> Result<Client, AttestationError> {
let reqwest_client = reqwest::Client::builder()
.default_headers(self.headers)
Expand Down
6 changes: 6 additions & 0 deletions toolchain-x86_64-linux-gnu.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ else()
endif()

SET(CMAKE_FIND_ROOT_PATH ${SYSROOT})

# Tell the cross-compiler to use the sysroot
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --sysroot=${SYSROOT}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --sysroot=${SYSROOT}")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -L${SYSROOT}/lib")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -L${SYSROOT}/lib")
if(NOT DEFINED CMAKE_FIND_ROOT_PATH_MODE_PROGRAM)
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
endif()
Expand Down
Loading