mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-04-22 06:48:03 +00:00
Add rustfmt.toml from substrate repo (#161)
* Add rustfmt.toml from substrate repo * Apply rustfmt to code base * Fix formatting * Move rustfmt job to the top
This commit is contained in:
committed by
GitHub
parent
77ad07e347
commit
a0b548b37d
+1
-6
@@ -16,12 +16,7 @@ pub struct SourceInput<'a> {
|
||||
|
||||
impl<'a> SourceInput<'a> {
|
||||
pub fn new<'b>(target_dir: &'b str, bin_name: &'b str) -> SourceInput<'b> {
|
||||
SourceInput {
|
||||
target_dir,
|
||||
bin_name,
|
||||
final_name: bin_name,
|
||||
target: SourceTarget::Emscripten,
|
||||
}
|
||||
SourceInput { target_dir, bin_name, final_name: bin_name, target: SourceTarget::Emscripten }
|
||||
}
|
||||
|
||||
pub fn unknown(mut self) -> Self {
|
||||
|
||||
Reference in New Issue
Block a user