diff --git a/crates/rerun/src/run.rs b/crates/rerun/src/run.rs index 7025b9754725..7b951c77b157 100644 --- a/crates/rerun/src/run.rs +++ b/crates/rerun/src/run.rs @@ -46,7 +46,7 @@ struct Args { port: u16, /// Start the viewer in the browser (instead of locally). - /// Requires Rerun to have been compiled with the 'web' feature. + /// Requires Rerun to have been compiled with the 'web_viewer' feature. #[clap(long)] web_viewer: bool, @@ -321,7 +321,9 @@ async fn run_impl( #[cfg(not(feature = "web_viewer"))] { _ = (call_source, rx); - anyhow::bail!("Can't host web-viewer - rerun was not compiled with the 'web' feature"); + anyhow::bail!( + "Can't host web-viewer - rerun was not compiled with the 'web_viewer' feature" + ); } } else { #[cfg(feature = "native_viewer")] @@ -415,7 +417,7 @@ async fn host_web_viewer(rerun_ws_server_url: String) -> anyhow::Result<()> { #[cfg(not(feature = "web_viewer"))] async fn host_web_viewer(_rerun_ws_server_url: String) -> anyhow::Result<()> { - panic!("Can't host web-viewer - rerun was not compiled with the 'web' feature"); + panic!("Can't host web-viewer - rerun was not compiled with the 'web_viewer' feature"); } #[cfg(feature = "server")] diff --git a/rerun_py/src/python_bridge.rs b/rerun_py/src/python_bridge.rs index 32be45d2c7d6..94e2bb4bab58 100644 --- a/rerun_py/src/python_bridge.rs +++ b/rerun_py/src/python_bridge.rs @@ -301,7 +301,7 @@ fn serve(open_browser: bool) -> PyResult<()> { { _ = open_browser; Err(PyRuntimeError::new_err( - "The Rerun SDK was not compiled with the 'web' feature", + "The Rerun SDK was not compiled with the 'web_viewer' feature", )) } }