1 parent 6a4708c commit ad5905eCopy full SHA for ad5905e
1 file changed
qis-compiler/rust/lib.rs
@@ -342,6 +342,7 @@ fn wrap_main<'c>(
342
Ok(())
343
}
344
345
+/// Compilation arguments.
346
#[derive(Debug)]
347
pub struct CompileArgs<'a> {
348
/// Entry point symbol
@@ -361,6 +362,7 @@ pub struct CompileArgs<'a> {
361
362
363
364
impl<'a> CompileArgs<'a> {
365
+ /// Create compiler arguments.
366
pub fn new(
367
name: &impl ToString,
368
target_machine: &'a TargetMachine,
0 commit comments