pub struct GoPackageArgs {
pub gcflags: Vec<String>,
pub ldflags: Vec<String>,
pub env: IndexMap<String, String>,
}Expand description
Pre-shaped go tool compile/link kwargs — spread verbatim by the
substrate interpreter.
Fields§
§gcflags: Vec<String>Extra go tool compile flags.
ldflags: Vec<String>go tool link flags — link nodes only (e.g. -X main.version=…,
-s -w).
env: IndexMap<String, String>GOOS/GOARCH/CGO_ENABLED for THIS node.
Trait Implementations§
Source§impl Clone for GoPackageArgs
impl Clone for GoPackageArgs
Source§fn clone(&self) -> GoPackageArgs
fn clone(&self) -> GoPackageArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GoPackageArgs
impl Debug for GoPackageArgs
Source§impl Default for GoPackageArgs
impl Default for GoPackageArgs
Source§fn default() -> GoPackageArgs
fn default() -> GoPackageArgs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoPackageArgs
impl<'de> Deserialize<'de> for GoPackageArgs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GoPackageArgs
impl RefUnwindSafe for GoPackageArgs
impl Send for GoPackageArgs
impl Sync for GoPackageArgs
impl Unpin for GoPackageArgs
impl UnsafeUnpin for GoPackageArgs
impl UnwindSafe for GoPackageArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more