0xMiden / 0xMiden/miden-lsp

MASM source scan includes files under target directories

Abierto
#9 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
1
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

`collect_masm_files` recursively walks every directory under a target root and collects any file ending in `.masm`:

```rust
if path.is_dir() {
collect_masm_files(&path, files)?;
} else if path.extension().is_some_and(|ext| ext == "masm") {
files.push(normalize_path(&path));
}
```

For projects whose target source is at the package root, for example `path = "mod.masm"`, the target root is the project directory. In that layout, any generated `.masm` file under the conventional build output directory `target/` is indexed as source, which can pollute workspace symbols, definitions, and references.

The scanner should avoid descending into `target/` when collecting source `.masm` files.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.