Skip to content

Commit

Permalink
Post rebase fixes
Browse files Browse the repository at this point in the history
- Move async-usercalls to intel-sgx directory
- Remove hacks/unsafe_typecasts.rs
- Fix some typos in docs
- Use marker trait for MakeSend to avoid warnings about issue #93367
- Update crossbeam and crossbeam-channel dependencies
- Use nightly Rust in CI
- Use SGX target for generating docs when crate has `feature(sgx_platform)`
  • Loading branch information
mzohreva committed Aug 1, 2022
1 parent b67b19b commit f0f6beb
Show file tree
Hide file tree
Showing 22 changed files with 140 additions and 185 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ matrix:
- clang-11
- musl-tools
rust:
- stable
- nightly
env:
- RUST_BACKTRACE=1
- CFLAGS_x86_64_fortanix_unknown_sgx="-isystem/usr/include/x86_64-linux-gnu -mlvi-hardening -mllvm -x86-experimental-lvi-inline-asm-hardening"
Expand Down
110 changes: 77 additions & 33 deletions Cargo.lock

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

95 changes: 0 additions & 95 deletions async-usercalls/src/hacks/unsafe_typecasts.rs

This file was deleted.

3 changes: 3 additions & 0 deletions doc/generate-api-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ for LIB in $LIBS_SORTED; do
if FEATURES="$(cargo read-manifest|jq -r '.metadata.docs.rs.features | join(",")' 2> /dev/null)"; then
ARGS="--features $FEATURES"
fi
if grep -q 'feature(sgx_platform)' ./src/lib.rs; then
ARGS="$ARGS --target x86_64-fortanix-unknown-sgx"
fi
cargo doc --no-deps --lib $ARGS
popd
fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ categories = ["asynchronous"]

[dependencies]
# Project dependencies
ipc-queue = { version = "0.1", path = "../ipc-queue" }
ipc-queue = { version = "0.2", path = "../../ipc-queue" }
fortanix-sgx-abi = { version = "0.4", path = "../fortanix-sgx-abi" }

# External dependencies
lazy_static = "1.4.0" # MIT/Apache-2.0
crossbeam-channel = "0.4" # MIT/Apache-2.0
crossbeam-channel = "0.5" # MIT/Apache-2.0
fnv = "1.0" # MIT/Apache-2.0

# For cargo test --target x86_64-fortanix-unknown-sgx
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit f0f6beb

Please sign in to comment.