mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Don't hardcode ptr_bytes
This commit is contained in:
parent
1aa286bace
commit
037d41d7c7
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ pub fn files_to_documentations(
|
|||
&std_lib,
|
||||
src_dir.as_path(),
|
||||
MutMap::default(),
|
||||
8, // TODO: Is it okay to hardcode ptr_bytes here? I think it should be fine since we'er only type checking (also, 8 => 32bit system)
|
||||
std::mem::size_of::<usize>(), // This is just type-checking for docs, so "target" doesn't matter
|
||||
builtin_defs_map,
|
||||
) {
|
||||
Ok(loaded) => files_docs.push((loaded.documentation, loaded.interns)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue