Skip to content

Implement log in rust #554

Closed
Closed

Description

@espindola

With global variables implemented, we can probably implement log in rust itself.

Activity

  1. msullivan commented on Aug 18, 2011

    @msullivan
    Contributor

    pcwalton wound up implementing a general purpose log using shapes in C++ instead. Or do you mean a different part of it?

  2. msullivan commented on Aug 30, 2011

    @msullivan
    Contributor

    Well, we could still move the code that checks the flag and figures out whether to log in rust.

  3. brson commented on Aug 30, 2011

    @brson
    Contributor

    pcwalton says it would be easy at this point to turn the log statements into library functions

  4. brson commented on Aug 30, 2011

    @brson
    Contributor

    but to preserve line numbers we would have to make it a syntax extension

  5. catamorphism commented on Jan 24, 2013

    @catamorphism
    Contributor

    I think #3627 subsumes this. Reopen if you disagree.

  6. added a commit that references this issue on Apr 23, 2020
  7. added a commit that references this issue on Sep 27, 2024
  8. added a commit that references this issue on Jun 3, 2025
  9. added a commit that references this issue on Jun 17, 2025
  10. added a commit that references this issue on Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions