mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-25 23:27:56 +00:00
use normal style for comments
Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
@@ -1,19 +1,14 @@
|
||||
//! This crate vendors EVM related standard library functionality and provides a LLVM module,
|
||||
//! exporting the standard library functions.
|
||||
//!
|
||||
//! The standard library code is inherited and adapted from [0].
|
||||
//!
|
||||
//! [0]: [https://github.com/matter-labs/era-compiler-llvm/blob/v1.4.1/llvm/lib/Target/EraVM/eravm-stdlib.ll]
|
||||
//!
|
||||
|
||||
use inkwell::{context::Context, memory_buffer::MemoryBuffer, module::Module, support::LLVMString};
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/stdlib.rs"));
|
||||
|
||||
/// Creates a LLVM module from [BITCODE].
|
||||
///
|
||||
/// The module exports a bunch of EVM related "stdlib" functions.
|
||||
///
|
||||
/// Returns `Error` if the bitcode fails to parse, which should never happen.
|
||||
pub fn module<'context>(
|
||||
context: &'context Context,
|
||||
|
||||
Reference in New Issue
Block a user