Skip to content

Commit 63d99a9

Browse files
committed
Disable linked runtime when immutable runtime is enabled for now (fixes #647)
1 parent 035871b commit 63d99a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

native/src/components/runtime.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ impl Runtime {
352352
Ok(())
353353
}
354354

355-
#[cfg(platform_linux)]
355+
#[cfg(all(platform_linux, not(feature = "immutable-runtime")))]
356356
pub fn link(&self) -> Result<()> {
357357
use std::fs::{copy, create_dir_all};
358358
use std::os::unix::fs::symlink;

native/src/console/site.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ impl Run for SiteLaunchCommand {
4646
bail!("Runtime not installed");
4747
}
4848

49-
#[cfg(platform_linux)]
49+
#[cfg(all(platform_linux, not(feature = "immutable-runtime")))]
5050
{
5151
use std::fs::File;
5252
use std::io::Read;

0 commit comments

Comments
 (0)