resolc 0.4.0

Solidity frontend for the revive compiler
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::tests::cli::utils::{
    assert_command_success, execute_resolc, RESOLC_YUL_FLAG, YUL_CONTRACT_PATH,
};

#[test]
fn llvm_arguments_work_with_yul_input() {
    let output_with_argument = execute_resolc(&[
        RESOLC_YUL_FLAG,
        YUL_CONTRACT_PATH,
        "--llvm-arg=-riscv-soften-spills'",
        "--bin",
    ]);
    assert_command_success(&output_with_argument, "Providing LLVM arguments");
    assert!(output_with_argument.success);
}