remote ssh: Fix asset embedding in cross-compilation (#19180)
This fixes the panic from the settings file not being embedded. Release Notes: - N/A --------- Co-authored-by: Bennet <bennet@zed.dev>
This commit is contained in:
parent
f2337bbed1
commit
71a878aa39
3 changed files with 9 additions and 1 deletions
|
@ -461,7 +461,7 @@ impl SshClientDelegate {
|
|||
} else if let Some(triple) = platform.triple() {
|
||||
smol::fs::create_dir_all("target/remote-server").await?;
|
||||
|
||||
self.update_status(Some("Installing cross.rs"), cx);
|
||||
self.update_status(Some("Installing cross.rs for cross-compilation"), cx);
|
||||
log::info!("installing cross");
|
||||
run_cmd(Command::new("cargo").args([
|
||||
"install",
|
||||
|
@ -485,6 +485,8 @@ impl SshClientDelegate {
|
|||
"build",
|
||||
"--package",
|
||||
"remote_server",
|
||||
"--features",
|
||||
"debug-embed",
|
||||
"--target-dir",
|
||||
"target/remote_server",
|
||||
"--target",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue