Skip to content

HashMap ICE #3559

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
jesse99 opened this issue Sep 23, 2012 · 1 comment
Closed

HashMap ICE #3559

jesse99 opened this issue Sep 23, 2012 · 1 comment
Labels
A-linkage Area: linking into static, shared libraries and binaries A-metadata Area: Crate metadata I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Milestone

Comments

@jesse99
Copy link
Contributor

jesse99 commented Sep 23, 2012

I'm getting rust: task failed at 'expected EMBL doc with tag EsUint but found tag 5', /Users/jessejones/Source/Third_Party/rust/src/libstd/ebml.rs:446 when trying to compile:

// rustc --test map_to_str.rs && ./map_to_str
extern mod std;
use io::{WriterUtil};
use std::map::*;

#[cfg(test)]
fn check_strs(actual: &str, expected: &str) -> bool
{
    if actual != expected
    {
        io::stderr().write_line(fmt!("Found %s, but expected %s", actual, expected));
        return false;
    }
    return true;
}

#[test]
fn tester()
{
    let table = HashMap();
    table.insert(@~"one", 1);
    table.insert(@~"two", 2);
    assert check_strs(table.to_str(), ~"xxx");   // not sure what expected should be
}

This is with export RUST_LOG=rustc=0,::rt::backtrace and rust master from Sep 22, 2012.

@catamorphism
Copy link
Contributor

Works as of d2ad028

bors pushed a commit to rust-lang-ci/rust that referenced this issue May 15, 2021
Update `rustc-ap-*` crates to 486.0.0.
RalfJung pushed a commit to RalfJung/rust that referenced this issue May 4, 2024
add helper function to declare an extern static for a weak symbol

and use it to make `statx` a regular function and get rid of the syscall
RalfJung pushed a commit to RalfJung/rust that referenced this issue May 4, 2024
add helper function to declare an extern static for a weak symbol

and use it to make `statx` a regular function and get rid of the syscall
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-linkage Area: linking into static, shared libraries and binaries A-metadata Area: Crate metadata I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Projects
None yet
Development

No branches or pull requests

2 participants