diff --git a/debian/README.Debian b/debian/README.Debian index 73d3ca18ba..001a09cd4a 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -81,7 +81,7 @@ in the libstd-rust-dev-wasm32 package. wasm32-unknown-unknown is suitable for web stuff, where you typically will need to depending on the rust-wasm-bindgen, js-sys, and web-sys crates. Here, calls to libstd stuff (such as println!()) will silently do nothing, as defined in -``src/libstd/sys/wasm/fs.rs`` and explained in upstream #48564. +``library/std/src/sys/wasm/mod.rs`` and explained in upstream #48564. wasm32-wasi is suitable for non-web stuff, and is closer to a "normal" target where you expect libstd to be available, and for println!() to actually print diff --git a/debian/rules b/debian/rules index 9c0314d30b..bea8d82b09 100755 --- a/debian/rules +++ b/debian/rules @@ -233,7 +233,7 @@ ifeq (true,$(BUILD_WINDOWS)) $(RUSTBUILD) build $(RUSTBUILD_FLAGS) \ --host $(DEB_BUILD_RUST_TYPE) \ --target $(WINDOWS_ARCH)-pc-windows-gnu \ - src/libstd + library/std endif override_dh_auto_build-indep: debian/dh_auto_build.stamp @@ -241,7 +241,7 @@ ifeq (true,$(BUILD_WASM)) $(RUSTBUILD) build $(RUSTBUILD_FLAGS) \ --host $(DEB_BUILD_RUST_TYPE) \ --target wasm32-unknown-unknown,wasm32-wasi \ - src/libstd + library/std endif ifeq (true,$(BUILD_DOCS)) $(RUSTBUILD) doc $(RUSTBUILD_FLAGS) @@ -306,7 +306,7 @@ ifeq (true,$(BUILD_WASM)) -PATH=$(CURDIR)/debian/bin:$(PATH) $(RUSTBUILD_TEST) $(RUSTBUILD_FLAGS) $(RUSTBUILD_TEST_FLAGS) \ --host $(DEB_BUILD_RUST_TYPE) \ --target wasm32-unknown-unknown,wasm32-wasi \ - src/libstd + library/std endif ifeq (true,$(BUILD_DOCS)) # Run all rules that test the docs, i.e. that depend on default:doc @@ -342,7 +342,7 @@ ifeq (true,$(BUILD_WINDOWS)) DESTDIR=$(DEB_DESTDIR) $(RUSTBUILD) install $(RUSTBUILD_FLAGS) \ --host $(DEB_BUILD_RUST_TYPE) \ --target $(WINDOWS_ARCH)-pc-windows-gnu \ - src/libstd + library/std endif override_dh_auto_install-indep: debian/dh_auto_install.stamp @@ -350,7 +350,7 @@ ifeq (true,$(BUILD_WASM)) DESTDIR=$(DEB_DESTDIR) $(RUSTBUILD) install $(RUSTBUILD_FLAGS) \ --host $(DEB_BUILD_RUST_TYPE) \ --target wasm32-unknown-unknown,wasm32-wasi \ - src/libstd + library/std endif ifeq (true,$(BUILD_DOCS)) # Brute force to remove privacy-breach-logo lintian warning.