spl memo linking windows (#11000)

* Update spl-memo to fix windows linking error

* Only programs need the stubs

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
This commit is contained in:
Jack May
2020-07-10 18:39:52 -07:00
committed by GitHub
parent 145906123a
commit f0b22b1b23
2 changed files with 11 additions and 2 deletions

View File

@ -1,5 +1,7 @@
//! @brief Syscall stubs when building for non-BPF targets
#![cfg(feature = "program")]
#[cfg(not(target_arch = "bpf"))]
fn print_line_to_stdout(_message: &str) {
#[cfg(not(feature = "program"))]