tests: update ExternalName api

This commit is contained in:
Pat Hickey
2017-11-22 17:37:08 -08:00
committed by Jakob Stoklund Olesen
parent 803b83c87a
commit eb49d9f8bf
4 changed files with 7 additions and 7 deletions

View File

@@ -62,7 +62,7 @@
//! sig.returns.push(AbiParam::new(I32));
//! sig.params.push(AbiParam::new(I32));
//! let mut il_builder = ILBuilder::<Variable>::new();
//! let mut func = Function::with_name_signature(ExternalName::new("sample_function"), sig);
//! let mut func = Function::with_name_signature(ExternalName::user(0, 0), sig);
//! {
//! let mut builder = FunctionBuilder::<Variable>::new(&mut func, &mut il_builder);
//!