Skip to content

Commit 1599ac6

Browse files
committed
Add initial version
Signed-off-by: Min Xu <[email protected]>
1 parent 74563b3 commit 1599ac6

File tree

161 files changed

+62829
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+62829
-0
lines changed

Diff for: .cargo/config.toml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[target.'cfg(target_os = "none")']
2+
runner = "cargo run --package test-runner-server --"
3+
4+
[alias]
5+
kbuild = "build --target x86_64-custom.json -Zbuild-std=core -Zbuild-std-features=compiler-builtins-mem"
6+
kimage = "run --target x86_64-custom.json -Zbuild-std=core -Zbuild-std-features=compiler-builtins-mem -- --no-run"
7+
krun = "run --target x86_64-custom.json -Zbuild-std=core -Zbuild-std-features=compiler-builtins-mem"
8+
ktest = "xtest --target x86_64-custom.json"
9+
10+
xbuild = "build -Zbuild-std=core,alloc,compiler_builtins -Zbuild-std-features=compiler-builtins-mem"

Diff for: .gitignore

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
*~
2+
3+
# Cargo Junk
4+
target/
5+
*.bin
6+
# afl fuzz
7+
out
8+
*.profraw
9+
# Intellj working directory
10+
.idea
11+
12+
## Generated by Cargo
13+
## will have compiled files and executables
14+
debug/
15+
16+
# These are backup files generated by rustfmt
17+
**/*.rs.bk
18+
19+
# C
20+
21+
## Object files
22+
*.o
23+
*.obj
24+
25+
## Linker output
26+
*.ilk
27+
*.map
28+
*.exp
29+
30+
# Libraries
31+
*.lib
32+
*.a
33+
34+
# Executables
35+
*.out

Diff for: .gitmodules

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[submodule "deps/td-shim"]
2+
path = deps/td-shim
3+
url = https://github.com/confidential-containers/td-shim
4+
[submodule "deps/rust-spdm"]
5+
path = deps/rust-spdm
6+
url = https://github.com/intel/rust-spdm
7+
[submodule "deps/rust-tpm-20-ref/ms-tpm-20-ref"]
8+
path = deps/rust-tpm-20-ref/ms-tpm-20-ref
9+
url = https://github.com/microsoft/ms-tpm-20-ref.git
10+
[submodule "deps/rust-tpm-20-ref/openssl"]
11+
path = deps/rust-tpm-20-ref/openssl
12+
url = https://github.com/openssl/openssl.git

0 commit comments

Comments
 (0)