mirror of
https://github.com/zellij-org/zellij.git
synced 2024-12-29 04:03:21 +03:00
fix: Some warnings
This commit is contained in:
parent
e52e9b1b37
commit
436b4ee19e
6
build.rs
6
build.rs
@ -38,7 +38,8 @@ fn main() {
|
|||||||
let alt_target = manifest_dir.join("target/tiles");
|
let alt_target = manifest_dir.join("target/tiles");
|
||||||
for project in members {
|
for project in members {
|
||||||
let path = manifest_dir.join(project.as_str().unwrap());
|
let path = manifest_dir.join(project.as_str().unwrap());
|
||||||
set_current_dir(&path);
|
// Should be able to change directory to continue build process
|
||||||
|
set_current_dir(&path).unwrap();
|
||||||
|
|
||||||
// FIXME: This is soul-crushingly terrible, but I can't keep the values alive long enough
|
// FIXME: This is soul-crushingly terrible, but I can't keep the values alive long enough
|
||||||
if var("PROFILE").unwrap() == "release" {
|
if var("PROFILE").unwrap() == "release" {
|
||||||
@ -58,7 +59,8 @@ fn main() {
|
|||||||
.unwrap();
|
.unwrap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
set_current_dir(&starting_dir);
|
// Should be able to change directory to continue build process
|
||||||
|
set_current_dir(&starting_dir).unwrap();
|
||||||
|
|
||||||
if var("PROFILE").unwrap() == "release" {
|
if var("PROFILE").unwrap() == "release" {
|
||||||
// FIXME: Deduplicate this with the initial walk all .rs pattern
|
// FIXME: Deduplicate this with the initial walk all .rs pattern
|
||||||
|
@ -1905,7 +1905,8 @@ impl Tab {
|
|||||||
debug_log_to_file(format!(
|
debug_log_to_file(format!(
|
||||||
"set_pane_invisible_borders: {:?}",
|
"set_pane_invisible_borders: {:?}",
|
||||||
invisible_borders
|
invisible_borders
|
||||||
));
|
))
|
||||||
|
.expect("Must be able to write to log file");
|
||||||
if let Some(pane) = self.panes.get_mut(&id) {
|
if let Some(pane) = self.panes.get_mut(&id) {
|
||||||
pane.set_invisible_borders(invisible_borders);
|
pane.set_invisible_borders(invisible_borders);
|
||||||
}
|
}
|
||||||
|
@ -4,8 +4,7 @@ use std::{
|
|||||||
};
|
};
|
||||||
use wasmer::{imports, Function, ImportObject, Store, WasmerEnv};
|
use wasmer::{imports, Function, ImportObject, Store, WasmerEnv};
|
||||||
use wasmer_wasi::WasiEnv;
|
use wasmer_wasi::WasiEnv;
|
||||||
|
// use crate::utils::logging::debug_log_to_file;
|
||||||
use crate::utils::logging::debug_log_to_file;
|
|
||||||
|
|
||||||
use super::{
|
use super::{
|
||||||
input::handler::get_help, pty_bus::PtyInstruction, screen::ScreenInstruction, AppInstruction,
|
input::handler::get_help, pty_bus::PtyInstruction, screen::ScreenInstruction, AppInstruction,
|
||||||
|
@ -8,7 +8,7 @@ mod client;
|
|||||||
|
|
||||||
use client::{boundaries, layout, panes, tab};
|
use client::{boundaries, layout, panes, tab};
|
||||||
use common::{
|
use common::{
|
||||||
command_is_executing, errors, ipc, os_input_output, pty_bus, screen, start, utils, wasm_vm,
|
command_is_executing, errors, os_input_output, pty_bus, screen, start, utils, wasm_vm,
|
||||||
ApiCommand,
|
ApiCommand,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user