Repository navigation
Expand file tree
/
Copy path.gitattributes
More file actions
21 lines (21 loc) · 1.53 KB
/
Copy path.gitattributes
File metadata and controls
21 lines (21 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
*.rs text eol=lf
tools/RustSharp.Conformance/manifests/*.json text eol=lf
tools/RustSharp.Conformance/fixtures/*-manifest.json text eol=lf
tools/RustSharp.Conformance/fixtures/*.ast.txt text eol=lf
# These lexer fixtures deliberately contain raw CR and CRLF input bytes.
tools/RustSharp.Conformance/fixtures/safe-core-lexing-comment-boundaries.rs -text
tools/RustSharp.Conformance/fixtures/safe-core-lexing-invalid-doc-carriage-returns.rs -text
tools/RustSharp.Conformance/fixtures/safe-core-lexing-input-line-endings.rs -text
tools/RustSharp.Conformance/fixtures/safe-core-lexing-trivia-only.rs -text
# These syntax fixtures intentionally retain CRLF/mixed bytes because their
# reviewed AST snapshots include the original source spans. Keep their input
# bytes stable across clean checkouts instead of normalizing them through the
# repository-wide `*.rs text eol=lf` rule.
tools/RustSharp.Conformance/fixtures/syntax-expanded-closures.rs -text whitespace=cr-at-eol
tools/RustSharp.Conformance/fixtures/syntax-expanded-expressions.rs -text whitespace=cr-at-eol
tools/RustSharp.Conformance/fixtures/syntax-expanded-modules.rs -text whitespace=cr-at-eol
tools/RustSharp.Conformance/fixtures/syntax-expanded-qualified.rs -text whitespace=cr-at-eol
# P1 frozen source hashes and diagnostic spans were reviewed against raw bytes.
# Preserve those bytes in native checkouts and Git archives on both platforms.
tools/RustSharp.Conformance/fixtures/p1-v3-*.rs -text whitespace=cr-at-eol
tools/RustSharp.Conformance/fixtures/p1-platform-v2-*.rs -text whitespace=cr-at-eol