Fork of daniellemaywood.uk/gleam — Wasm codegen work
2

Configure Feed

Select the types of activity you want to include in your feed.

gleam / compiler-core / clippy.toml
1.9 kB 29 lines
1# SPDX-License-Identifier: Apache-2.0 2# SPDX-FileCopyrightText: 2023 The Gleam contributors 3 4disallowed-methods = [ 5 { path = "std::env::current_dir", reason = "IO is not permitted in core" }, 6 { path = "std::path::Path::canonicalize", reason = "IO is not permitted in core" }, 7 { path = "std::path::Path::exists", reason = "IO is not permitted in core" }, 8 { path = "std::path::Path::is_dir", reason = "IO is not permitted in core" }, 9 { path = "std::path::Path::is_file", reason = "IO is not permitted in core" }, 10 { path = "std::path::Path::is_symlink", reason = "IO is not permitted in core" }, 11 { path = "std::path::Path::read_dir", reason = "IO is not permitted in core" }, 12 { path = "std::path::Path::read_link", reason = "IO is not permitted in core" }, 13 { path = "std::path::Path::symlink_metadata", reason = "IO is not permitted in core" }, 14 { path = "std::path::Path::try_exists", reason = "IO is not permitted in core" }, 15 16 { path = "camino::Utf8Path::canonicalize", reason = "IO is not permitted in core" }, 17 { path = "camino::Utf8Path::exists", reason = "IO is not permitted in core" }, 18 { path = "camino::Utf8Path::is_dir", reason = "IO is not permitted in core" }, 19 { path = "camino::Utf8Path::is_file", reason = "IO is not permitted in core" }, 20 { path = "camino::Utf8Path::is_symlink", reason = "IO is not permitted in core" }, 21 { path = "camino::Utf8Path::read_dir", reason = "IO is not permitted in core" }, 22 { path = "camino::Utf8Path::read_link", reason = "IO is not permitted in core" }, 23 { path = "camino::Utf8Path::symlink_metadata", reason = "IO is not permitted in core" }, 24 { path = "camino::Utf8Path::try_exists", reason = "IO is not permitted in core" }, 25 26 27 { path = "std::path::Path::new", reason = "Manually constructed paths should use camino::Utf8Path" }, 28 { path = "std::path::PathBuf::new", reason = "Manually constructed pathbufs should use camino::Utf8Path" }, 29]