commit | 5ff4b3889bd2d1218e45529dc0f5892fd822a64a | [log] [tgz] |
---|---|---|
author | Yu Ding <dingelish@gmail.com> | Mon Oct 26 21:48:27 2020 -0700 |
committer | Yu Ding <dingelish@gmail.com> | Mon Oct 26 21:48:27 2020 -0700 |
tree | 8983db15a4b23d71fa312b346b4dba98ac7c9155 | |
parent | c6fd975d5a511aca8c6b027a2351f4c67faaec7a [diff] |
fix: suppress warning for link_args this is a bug at https://github.com/rust-lang/rust/issues/55895
diff --git a/samplecode/switchless/app/src/main.rs b/samplecode/switchless/app/src/main.rs index 4de1afd..8876218 100644 --- a/samplecode/switchless/app/src/main.rs +++ b/samplecode/switchless/app/src/main.rs
@@ -16,6 +16,7 @@ // under the License.. #![feature(link_args)] +#![allow(unused_attributes)] #![link_args = "-Wl,--whole-archive -lsgx_uswitchless -Wl,--no-whole-archive"] extern crate sgx_types;